Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 186 kB / 21.49 MB, free: 0.8242 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.662/1.662, allocations: 207.6 MB / 232.1 MB, free: 3.199 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.3811/0.3811, allocations: 44.23 MB / 328.4 MB, free: 6.289 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 73.38 kB / 465.6 MB, free: 45.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1417, allocations: 61.01 MB / 0.5143 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003007/0.1447, allocations: 1.72 MB / 0.5159 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.146, allocations: 0.8235 MB / 0.5168 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.1461, allocations: 1.625 kB / 0.5168 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.1465, allocations: 46.12 kB / 0.5168 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.1467, allocations: 58.3 kB / 0.5169 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.147, allocations: 87.64 kB / 0.5169 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1471, allocations: 97.62 kB / 0.517 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1473, allocations: 11.52 kB / 0.517 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1474, allocations: 36.61 kB / 0.5171 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.639e-05/0.1475, allocations: 41.45 kB / 0.5171 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.1475, allocations: 3.062 kB / 0.5171 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1476, allocations: 37.41 kB / 0.5172 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.1477, allocations: 19.92 kB / 0.5172 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.1478, allocations: 47.66 kB / 0.5172 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.148, allocations: 111.6 kB / 0.5173 GB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.148, allocations: 0 / 0.5173 GB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.148, allocations: 0 / 0.5173 GB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.148, allocations: 0 / 0.5173 GB, free: 10.06 MB / 382.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.000588/0.1486, allocations: 422.7 kB / 0.5177 GB, free: 9.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1486, allocations: 15.84 kB / 0.5177 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.1487, allocations: 8.891 kB / 0.5178 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.1489, allocations: 216.8 kB / 0.518 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.149, allocations: 8.312 kB / 0.518 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.149, allocations: 8.062 kB / 0.518 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1491, allocations: 53.67 kB / 0.518 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1491, allocations: 0 / 0.518 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1491, allocations: 4 kB / 0.518 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1491, allocations: 0 / 0.518 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.349e-05/0.1492, allocations: 15.98 kB / 0.518 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.1496, allocations: 288.9 kB / 0.5183 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1497, allocations: 62.61 kB / 0.5184 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.1498, allocations: 16.86 kB / 0.5184 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1498, allocations: 3.984 kB / 0.5184 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.1499, allocations: 75.38 kB / 0.5185 GB, free: 8.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1499, allocations: 0 / 0.5185 GB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005207/0.1505, allocations: 169.4 kB / 0.5186 GB, free: 8.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1505, allocations: 51.41 kB / 0.5187 GB, free: 8.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1506, allocations: 201.5 kB / 0.5189 GB, free: 8.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1507, allocations: 29.69 kB / 0.5189 GB, free: 8.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.1507, allocations: 104.1 kB / 0.519 GB, free: 8.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.1507, allocations: 27.78 kB / 0.519 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.1508, allocations: 25.72 kB / 0.5191 GB, free: 8.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.1508, allocations: 326.8 kB / 0.5194 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.438e-05/0.1509, allocations: 27.92 kB / 0.5194 GB, free: 7.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.151, allocations: 34.08 kB / 0.5194 GB, free: 7.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.629e-05/0.151, allocations: 61.7 kB / 0.5195 GB, free: 7.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.151, allocations: 0 / 0.5195 GB, free: 7.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001731/0.1512, allocations: 109.5 kB / 0.5196 GB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1512, allocations: 4 kB / 0.5196 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1512, allocations: 4 kB / 0.5196 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1513, allocations: 3.984 kB / 0.5196 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.1514, allocations: 15.98 kB / 0.5196 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1514, allocations: 0 / 0.5196 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.1514, allocations: 11.94 kB / 0.5196 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1514, allocations: 4 kB / 0.5196 GB, free: 7.469 MB / 382.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 9.441e-05/0.1515, allocations: 133.2 kB / 0.5198 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.1515, allocations: 11.95 kB / 0.5198 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.1518, allocations: 115.2 kB / 0.5199 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1518, allocations: 3.938 kB / 0.5199 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1518, allocations: 0 / 0.5199 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1518, allocations: 3.938 kB / 0.5199 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.1521, allocations: 395.3 kB / 0.5203 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1521, allocations: 0 / 0.5203 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.1522, allocations: 19.95 kB / 0.5203 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1522, allocations: 0 / 0.5203 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1522, allocations: 7.938 kB / 0.5203 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1522, allocations: 0 / 0.5203 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1522, allocations: 0 / 0.5203 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1523, allocations: 196.3 kB / 0.5205 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.1524, allocations: 89.02 kB / 0.5206 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1524, allocations: 11.94 kB / 0.5206 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.1525, allocations: 7.984 kB / 0.5206 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1525, allocations: 4 kB / 0.5206 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1525, allocations: 4 kB / 0.5206 GB, free: 6.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.933e-05/0.1526, allocations: 156.9 kB / 0.5207 GB, free: 6.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1526, allocations: 0 / 0.5207 GB, free: 6.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1529, allocations: 32.05 kB / 0.5208 GB, free: 6.188 MB / 382.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 (8): * Single equations (assignments): 6 * 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.00166/0.1545, allocations: 469 kB / 0.5212 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.1547, allocations: 63.89 kB / 0.5213 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1547, allocations: 0 / 0.5213 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.1548, allocations: 20 kB / 0.5213 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1551, allocations: 44.03 kB / 0.5213 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.1556, allocations: 239 kB / 0.5216 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.1557, allocations: 0.7118 MB / 0.5223 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.291e-05/0.1558, allocations: 17.19 kB / 0.5223 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.1558, allocations: 19.42 kB / 0.5223 GB, free: 4.609 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1558, allocations: 0 / 0.5223 GB, free: 4.609 MB / 382.1 MB Notification: Performance of Templates: time 0.004451/0.1602, allocations: 1.722 MB / 0.524 GB, free: 2.895 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.725967706181109]