Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.001355/0.001355, allocations: 77.7 kB / 20.51 MB, free: 1.277 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.001514/0.001514, allocations: 160.4 kB / 23.75 MB, free: 4.477 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.545/1.545, allocations: 158.6 MB / 185.5 MB, free: 6.219 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.2131/0.2131, allocations: 32.38 MB / 270.1 MB, free: 2.707 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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") [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.002313/0.002313, allocations: 67.91 kB / 407.8 MB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1525, allocations: 61.04 MB / 468.8 MB, free: 8.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003701/0.1562, allocations: 1.692 MB / 470.5 MB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1579, allocations: 0.7726 MB / 471.3 MB, free: 5.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.158, allocations: 0 / 471.3 MB, free: 5.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.1584, allocations: 43.78 kB / 471.4 MB, free: 5.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.1587, allocations: 63.67 kB / 471.4 MB, free: 5.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.1589, allocations: 79.78 kB / 471.5 MB, free: 5.578 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.1592, allocations: 99.73 kB / 471.6 MB, free: 5.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1593, allocations: 4.234 kB / 471.6 MB, free: 5.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.1594, allocations: 39.8 kB / 471.6 MB, free: 5.438 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1595, allocations: 35.77 kB / 471.7 MB, free: 5.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1595, allocations: 7.938 kB / 471.7 MB, free: 5.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1596, allocations: 40 kB / 471.7 MB, free: 5.355 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.1597, allocations: 27.86 kB / 471.7 MB, free: 5.328 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.1598, allocations: 23.86 kB / 471.8 MB, free: 5.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.16, allocations: 111.5 kB / 471.9 MB, free: 5.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.16, allocations: 4 kB / 471.9 MB, free: 5.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.16, allocations: 0 / 471.9 MB, free: 5.191 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1601, allocations: 4 kB / 471.9 MB, free: 5.188 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.0007008/0.1608, allocations: 345.5 kB / 472.2 MB, free: 4.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1608, allocations: 8.031 kB / 472.2 MB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.1609, allocations: 8.891 kB / 472.2 MB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.1612, allocations: 150.3 kB / 472.4 MB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1612, allocations: 384 / 472.4 MB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1612, allocations: 12.12 kB / 472.4 MB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1614, allocations: 49.67 kB / 472.4 MB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.1614, allocations: 8 kB / 472.5 MB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1614, allocations: 4 kB / 472.5 MB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1615, allocations: 0 / 472.5 MB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.1615, allocations: 23.92 kB / 472.5 MB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.162, allocations: 236.4 kB / 472.7 MB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1622, allocations: 54.67 kB / 472.8 MB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.1622, allocations: 20.84 kB / 472.8 MB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.1622, allocations: 0 / 472.8 MB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.1624, allocations: 75.33 kB / 472.9 MB, free: 4.098 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1624, allocations: 0 / 472.9 MB, free: 4.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006044/0.163, allocations: 181.4 kB / 473 MB, free: 3.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.1631, allocations: 51.41 kB / 473.1 MB, free: 3.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.1633, allocations: 186.3 kB / 473.3 MB, free: 3.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1633, allocations: 33.7 kB / 473.3 MB, free: 3.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.1634, allocations: 100.1 kB / 473.4 MB, free: 3.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.1634, allocations: 23.8 kB / 473.4 MB, free: 3.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.1634, allocations: 25.7 kB / 473.4 MB, free: 3.465 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1636, allocations: 326.8 kB / 473.8 MB, free: 3.137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.1637, allocations: 24 kB / 473.8 MB, free: 3.113 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.1638, allocations: 33.7 kB / 473.8 MB, free: 3.074 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1639, allocations: 69.7 kB / 473.9 MB, free: 3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1639, allocations: 0 / 473.9 MB, free: 3 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.1641, allocations: 109.5 kB / 474 MB, free: 2.887 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1641, allocations: 4.188 kB / 474 MB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1641, allocations: 3.938 kB / 474 MB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1641, allocations: 7.938 kB / 474 MB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.1642, allocations: 20.02 kB / 474 MB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1642, allocations: 0 / 474 MB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.1643, allocations: 8 kB / 474 MB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.1643, allocations: 384 / 474 MB, free: 2.844 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.0001169/0.1644, allocations: 133.8 kB / 474.2 MB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.1644, allocations: 11.91 kB / 474.2 MB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.1647, allocations: 118.4 kB / 474.3 MB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1647, allocations: 0 / 474.3 MB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1647, allocations: 8 kB / 474.3 MB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1647, allocations: 0 / 474.3 MB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.1652, allocations: 346.9 kB / 474.6 MB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.1652, allocations: 3.984 kB / 474.6 MB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.1653, allocations: 11.94 kB / 474.7 MB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1653, allocations: 0 / 474.7 MB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1653, allocations: 4 kB / 474.7 MB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1653, allocations: 0 / 474.7 MB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1653, allocations: 3.938 kB / 474.7 MB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.1656, allocations: 220.2 kB / 474.9 MB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.1656, allocations: 11.95 kB / 474.9 MB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1656, allocations: 4.031 kB / 474.9 MB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.1657, allocations: 4 kB / 474.9 MB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1657, allocations: 11.92 kB / 474.9 MB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.1658, allocations: 8 kB / 474.9 MB, free: 1.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1659, allocations: 148 kB / 475.1 MB, free: 1.742 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1659, allocations: 0 / 475.1 MB, free: 1.742 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.1662, allocations: 23.94 kB / 475.1 MB, free: 1.719 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.002004/0.1682, allocations: 0.5004 MB / 475.6 MB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1684, allocations: 55.91 kB / 475.6 MB, free: 1.176 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1684, allocations: 0 / 475.6 MB, free: 1.176 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.1685, allocations: 35.92 kB / 475.7 MB, free: 1.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1688, allocations: 23.97 kB / 475.7 MB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.1694, allocations: 231.2 kB / 475.9 MB, free: 0.8594 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.1695, allocations: 96.28 kB / 476 MB, free: 0.7461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.518e-05/0.1695, allocations: 8.5 kB / 476 MB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.1696, allocations: 20.48 kB / 476.1 MB, free: 0.7148 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1696, allocations: 0 / 476.1 MB, free: 0.7148 MB / 446.1 MB Notification: Performance of Templates: time 0.2564/0.4259, allocations: 1.794 MB / 477.8 MB, free: 49.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.28348665102385]