Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.002342/0.002342, allocations: 79.34 kB / 20.52 MB, free: 1.281 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.002347/0.002347, allocations: 167 kB / 23.76 MB, free: 4.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2225/0.2225, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 72.52 kB / 407.8 MB, free: 5.469 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1491, allocations: 61.05 MB / 468.9 MB, free: 8.234 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004383/0.1534, allocations: 1.684 MB / 470.5 MB, free: 6.535 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1552, allocations: 0.7726 MB / 471.3 MB, free: 5.754 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.1554, allocations: 4 kB / 471.3 MB, free: 5.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.1558, allocations: 51.75 kB / 471.4 MB, free: 5.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.1561, allocations: 51.77 kB / 471.4 MB, free: 5.648 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1565, allocations: 83.77 kB / 471.5 MB, free: 5.566 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.1567, allocations: 95.69 kB / 471.6 MB, free: 5.473 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1568, allocations: 4.234 kB / 471.6 MB, free: 5.469 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1569, allocations: 43.78 kB / 471.6 MB, free: 5.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.157, allocations: 35.78 kB / 471.7 MB, free: 5.391 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.1571, allocations: 4 kB / 471.7 MB, free: 5.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1572, allocations: 39.98 kB / 471.7 MB, free: 5.348 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.077e-05/0.1573, allocations: 31.86 kB / 471.7 MB, free: 5.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.1573, allocations: 23.86 kB / 471.8 MB, free: 5.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.1576, allocations: 119.4 kB / 471.9 MB, free: 5.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1576, allocations: 0 / 471.9 MB, free: 5.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1576, allocations: 0 / 471.9 MB, free: 5.176 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1577, allocations: 0 / 471.9 MB, free: 5.176 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007055/0.1584, allocations: 341.6 kB / 472.2 MB, free: 4.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1584, allocations: 12.03 kB / 472.2 MB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.1585, allocations: 12.89 kB / 472.2 MB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.1588, allocations: 138.4 kB / 472.4 MB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1588, allocations: 8.375 kB / 472.4 MB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.1589, allocations: 8.125 kB / 472.4 MB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.159, allocations: 57.59 kB / 472.5 MB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1591, allocations: 4 kB / 472.5 MB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1591, allocations: 4 kB / 472.5 MB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1591, allocations: 0 / 472.5 MB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.77e-05/0.1592, allocations: 19.98 kB / 472.5 MB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.1596, allocations: 244.4 kB / 472.7 MB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.1598, allocations: 50.62 kB / 472.8 MB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.1599, allocations: 24.84 kB / 472.8 MB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1599, allocations: 4 kB / 472.8 MB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.1601, allocations: 63.39 kB / 472.9 MB, free: 4.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1601, allocations: 0 / 472.9 MB, free: 4.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006408/0.1607, allocations: 177.4 kB / 473 MB, free: 3.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.1608, allocations: 59.39 kB / 473.1 MB, free: 3.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.161, allocations: 182.3 kB / 473.3 MB, free: 3.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.161, allocations: 29.7 kB / 473.3 MB, free: 3.617 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.1611, allocations: 100.1 kB / 473.4 MB, free: 3.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.1611, allocations: 31.78 kB / 473.4 MB, free: 3.484 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.1612, allocations: 21.72 kB / 473.4 MB, free: 3.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1613, allocations: 326.8 kB / 473.8 MB, free: 3.129 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.1614, allocations: 23.98 kB / 473.8 MB, free: 3.105 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.1615, allocations: 37.64 kB / 473.8 MB, free: 3.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1616, allocations: 69.7 kB / 473.9 MB, free: 2.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1616, allocations: 0 / 473.9 MB, free: 2.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002264/0.1619, allocations: 105.5 kB / 474 MB, free: 2.879 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1619, allocations: 8.219 kB / 474 MB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1619, allocations: 3.984 kB / 474 MB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1619, allocations: 7.938 kB / 474 MB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.162, allocations: 12 kB / 474 MB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.162, allocations: 0 / 474 MB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.657e-05/0.1621, allocations: 8.375 kB / 474 MB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.1621, allocations: 7.984 kB / 474 MB, free: 2.832 MB / 446.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 (10): * Single equations (assignments): 10 * 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.0001341/0.1622, allocations: 125.7 kB / 474.2 MB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.1622, allocations: 15.91 kB / 474.2 MB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.1625, allocations: 122.4 kB / 474.3 MB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1625, allocations: 4 kB / 474.3 MB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1625, allocations: 4 kB / 474.3 MB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1626, allocations: 3.984 kB / 474.3 MB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.1631, allocations: 342.9 kB / 474.7 MB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1631, allocations: 0 / 474.7 MB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.1631, allocations: 8 kB / 474.7 MB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.1631, allocations: 11.97 kB / 474.7 MB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1632, allocations: 0 / 474.7 MB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1632, allocations: 0 / 474.7 MB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.547e-06/0.1632, allocations: 11.97 kB / 474.7 MB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.1635, allocations: 208.2 kB / 474.9 MB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.1635, allocations: 11.95 kB / 474.9 MB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.1635, allocations: 7.984 kB / 474.9 MB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.1636, allocations: 0 / 474.9 MB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.1636, allocations: 11.92 kB / 474.9 MB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.1637, allocations: 8 kB / 474.9 MB, free: 1.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1638, allocations: 148 kB / 475.1 MB, free: 1.734 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1638, allocations: 0 / 475.1 MB, free: 1.734 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.1641, allocations: 23.94 kB / 475.1 MB, free: 1.711 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001931/0.166, allocations: 0.5003 MB / 475.6 MB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.1663, allocations: 55.97 kB / 475.6 MB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1663, allocations: 0 / 475.6 MB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/0.1664, allocations: 39.98 kB / 475.7 MB, free: 1.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1667, allocations: 19.98 kB / 475.7 MB, free: 1.109 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.1673, allocations: 235.1 kB / 475.9 MB, free: 0.8477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.1675, allocations: 88.3 kB / 476 MB, free: 0.7422 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.1675, allocations: 16.55 kB / 476 MB, free: 0.7227 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.1676, allocations: 16.5 kB / 476.1 MB, free: 0.707 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1676, allocations: 3.938 kB / 476.1 MB, free: 0.7031 MB / 446.1 MB Notification: Performance of Templates: time 0.2805/0.4481, allocations: 1.791 MB / 477.8 MB, free: 50.07 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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: 5.360376119031571]