Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008776/0.0008776, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003653/0.003653, allocations: 164 kB / 24.7 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8609/0.8609, allocations: 177.2 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.253/0.253, allocations: 34.26 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 443.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.354e-05, allocations: 3.828 kB / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.1866/0.1866, allocations: 1.596 MB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006839/0.1873, allocations: 0.5442 MB / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.1873, allocations: 0 / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.1875, allocations: 82.23 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1877, allocations: 99.14 kB / 445.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.1879, allocations: 112.3 kB / 445.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.188, allocations: 87.72 kB / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.237e-05/0.1881, allocations: 15.59 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.1882, allocations: 43.22 kB / 446 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.1882, allocations: 51.17 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1882, allocations: 2.562 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.137e-05/0.1883, allocations: 44.09 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.1884, allocations: 16.61 kB / 446.2 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.1884, allocations: 17.55 kB / 446.2 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.1885, allocations: 105.7 kB / 446.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1885, allocations: 0 / 446.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1885, allocations: 0 / 446.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1885, allocations: 0 / 446.3 MB, free: 43.42 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002886/0.1888, allocations: 348 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1888, allocations: 11.91 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.1889, allocations: 8.016 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.997e-05/0.189, allocations: 140.5 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-06/0.189, allocations: 3.344 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.189, allocations: 6.938 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.303e-05/0.1891, allocations: 48.48 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/0.1891, allocations: 10.02 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.1891, allocations: 7.75 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1891, allocations: 0 / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.079e-05/0.1891, allocations: 27.98 kB / 446.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.1894, allocations: 240.3 kB / 447.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.1894, allocations: 39.58 kB / 447.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.1895, allocations: 28.94 kB / 447.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1895, allocations: 3.562 kB / 447.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.1895, allocations: 33.53 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.1895, allocations: 0 / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005088/0.19, allocations: 240.9 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.19, allocations: 51.41 kB / 447.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1901, allocations: 204.6 kB / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.1901, allocations: 28.33 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.1902, allocations: 105.3 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.1902, allocations: 27.17 kB / 447.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.1902, allocations: 20.06 kB / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.185e-05/0.1902, allocations: 328.1 kB / 448.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.1903, allocations: 27.78 kB / 448.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.1903, allocations: 36.48 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.23e-05/0.1904, allocations: 76.14 kB / 448.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1904, allocations: 3.938 kB / 448.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.1905, allocations: 109.4 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.1905, allocations: 6.75 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1905, allocations: 4 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1905, allocations: 0 / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.1906, allocations: 20.19 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1906, allocations: 5.922 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.1906, allocations: 4.406 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1906, allocations: 5.797 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.1907, allocations: 133.3 kB / 448.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.1907, allocations: 16.66 kB / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.1909, allocations: 135.4 kB / 448.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1909, allocations: 0 / 448.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1909, allocations: 0 / 448.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1909, allocations: 1.078 kB / 448.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.1911, allocations: 358.4 kB / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1911, allocations: 0 / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.1912, allocations: 16.95 kB / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1912, allocations: 0 / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1912, allocations: 9.969 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1912, allocations: 7.969 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1912, allocations: 2.688 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.1913, allocations: 209 kB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.1913, allocations: 9.016 kB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1913, allocations: 6.594 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.1913, allocations: 5.156 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.1914, allocations: 9.172 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1914, allocations: 2.625 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.842e-05/0.1914, allocations: 158 kB / 449.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1914, allocations: 4 kB / 449.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.1916, allocations: 22.5 kB / 449.6 MB, free: 40.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007161/0.1923, allocations: 490.1 kB / 450 MB, free: 40.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.1924, allocations: 79.42 kB / 450.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1924, allocations: 0 / 450.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.1925, allocations: 43.31 kB / 450.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.1927, allocations: 16.91 kB / 450.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.1931, allocations: 287.9 kB / 450.5 MB, free: 40.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.054e-05/0.1931, allocations: 99.16 kB / 450.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.1932, allocations: 14.16 kB / 450.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1932, allocations: 0 / 450.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of Templates: time 0.002162/0.1953, allocations: 1.845 MB / 452.4 MB, free: 40.27 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.770059622824192]