Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001808/0.001808, allocations: 122 kB / 18.46 MB, free: 4.578 MB / 14.72 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.002296/0.002296, allocations: 209.6 kB / 21.42 MB, free: 1.625 MB / 14.72 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 1.549/1.549, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2507/0.2507, allocations: 46.92 MB / 357.8 MB, free: 10.32 MB / 286.1 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.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.91 kB / 0.4921 GB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1665, allocations: 65.99 MB / 0.5566 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004123/0.1707, allocations: 1.685 MB / 0.5582 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.1728, allocations: 1.024 MB / 0.5592 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1729, allocations: 3.938 kB / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.1733, allocations: 51.81 kB / 0.5593 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.1737, allocations: 99.48 kB / 0.5594 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.1741, allocations: 75.72 kB / 0.5595 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1743, allocations: 99.64 kB / 0.5596 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.138e-05/0.1744, allocations: 4.234 kB / 0.5596 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1745, allocations: 47.77 kB / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1746, allocations: 35.8 kB / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1747, allocations: 4 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1748, allocations: 31.92 kB / 0.5597 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.974e-05/0.1749, allocations: 27.91 kB / 0.5597 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.175, allocations: 43.67 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.1753, allocations: 119.4 kB / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1753, allocations: 0 / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1753, allocations: 0 / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.1753, allocations: 0 / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007726/0.1761, allocations: 446.5 kB / 0.5603 GB, free: 1.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1761, allocations: 12.03 kB / 0.5603 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.1762, allocations: 12.84 kB / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.1766, allocations: 229 kB / 0.5605 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1766, allocations: 384 / 0.5605 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.1766, allocations: 8.125 kB / 0.5605 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1768, allocations: 45.67 kB / 0.5606 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1768, allocations: 0 / 0.5606 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1768, allocations: 0 / 0.5606 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1768, allocations: 0 / 0.5606 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.248e-05/0.1769, allocations: 19.98 kB / 0.5606 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.1772, allocations: 193.7 kB / 0.5608 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1774, allocations: 50.56 kB / 0.5608 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/0.1775, allocations: 24.78 kB / 0.5609 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.1775, allocations: 3.984 kB / 0.5609 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.1777, allocations: 67.39 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.863e-06/0.1777, allocations: 0 / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003457/0.178, allocations: 101.5 kB / 0.561 GB, free: 0.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.1781, allocations: 51.41 kB / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.1784, allocations: 274.8 kB / 0.5613 GB, free: 204 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1784, allocations: 29.7 kB / 0.5614 GB, free: 168 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.1785, allocations: 108.1 kB / 0.5615 GB, free: 56 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1785, allocations: 19.91 kB / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.1786, allocations: 17.72 kB / 0.5615 GB, free: 12 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1787, allocations: 330.8 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.183e-05/0.1788, allocations: 8 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.1788, allocations: 33.7 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.179, allocations: 49.64 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.179, allocations: 4.188 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001825/0.1791, allocations: 89.53 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1792, allocations: 11.94 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1792, allocations: 0 / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1792, allocations: 0 / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.1793, allocations: 11.94 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1793, allocations: 7.984 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.1793, allocations: 7.891 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1793, allocations: 4.031 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001482/0.1795, allocations: 140 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1795, allocations: 15.91 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.1796, allocations: 20.98 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1796, allocations: 0 / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1796, allocations: 0 / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1796, allocations: 0 / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1798, allocations: 205.5 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1798, allocations: 0 / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.1798, allocations: 4 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1798, allocations: 4 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.1798, allocations: 0 / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1798, allocations: 0 / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1798, allocations: 0 / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1801, allocations: 120.9 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.1801, allocations: 89.02 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.1802, allocations: 3.984 kB / 0.5626 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.6e-05/0.1802, allocations: 0 / 0.5626 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.1802, allocations: 8 kB / 0.5626 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1803, allocations: 4 kB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.1805, allocations: 204.6 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1805, allocations: 0 / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.1807, allocations: 16 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001692/0.1824, allocations: 422.4 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.1826, allocations: 43.91 kB / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1826, allocations: 4.062 kB / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.1826, allocations: 16 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.183, allocations: 32.47 kB / 0.5633 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.1836, allocations: 296.1 kB / 0.5636 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.1841, allocations: 0.7157 MB / 0.5643 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.1841, allocations: 19.44 kB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1841, allocations: 0 / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of Templates: time 0.00483/0.1889, allocations: 1.893 MB / 0.5662 GB, free: 11.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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: 8.312701763992663]