Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 108.3 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4253/0.4253, allocations: 43.49 MB / 360.7 MB, free: 51.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 55.92 kB / 429.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1389, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004046/0.143, allocations: 1.911 MB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1448, allocations: 0.882 MB / 489.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.145, allocations: 3.938 kB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.1455, allocations: 215.6 kB / 490 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.146, allocations: 159.5 kB / 490.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.1465, allocations: 139.7 kB / 490.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000399/0.1469, allocations: 215.3 kB / 490.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.147, allocations: 25.55 kB / 490.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.1473, allocations: 99.59 kB / 490.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.1475, allocations: 151.5 kB / 490.8 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.1475, allocations: 4 kB / 490.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1477, allocations: 43.98 kB / 490.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1478, allocations: 51.83 kB / 490.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.588e-05/0.1479, allocations: 79.3 kB / 491 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.1482, allocations: 207.5 kB / 491.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1482, allocations: 4 kB / 491.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1482, allocations: 0 / 491.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1483, allocations: 0 / 491.2 MB, free: 8.344 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008358/0.1491, allocations: 0.5409 MB / 491.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1492, allocations: 11.97 kB / 491.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.793e-05/0.1493, allocations: 24.66 kB / 491.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.1496, allocations: 280.1 kB / 492 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1497, allocations: 384 / 492 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.1497, allocations: 16.03 kB / 492 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.15, allocations: 99.36 kB / 492.1 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.15, allocations: 3.938 kB / 492.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.15, allocations: 0 / 492.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.15, allocations: 4 kB / 492.1 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.1502, allocations: 39.91 kB / 492.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.1508, allocations: 449 kB / 492.6 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.1511, allocations: 121.3 kB / 492.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.354e-05/0.1512, allocations: 41.69 kB / 492.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.1512, allocations: 0 / 492.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.1515, allocations: 117 kB / 492.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.266e-06/0.1516, allocations: 0 / 492.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009296/0.1525, allocations: 379.7 kB / 493.3 MB, free: 6.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.1526, allocations: 81.05 kB / 493.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.153, allocations: 428.5 kB / 493.8 MB, free: 5.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.153, allocations: 37.69 kB / 493.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1531, allocations: 148.3 kB / 493.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.1532, allocations: 51.38 kB / 494 MB, free: 5.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.1533, allocations: 29.72 kB / 494 MB, free: 5.246 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1534, allocations: 342.8 kB / 494.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1535, allocations: 43.98 kB / 494.4 MB, free: 4.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1536, allocations: 71.41 kB / 494.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1539, allocations: 123.5 kB / 494.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1539, allocations: 0 / 494.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003248/0.1542, allocations: 181.3 kB / 494.8 MB, free: 4.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.1542, allocations: 8 kB / 494.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1542, allocations: 3.938 kB / 494.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1543, allocations: 4 kB / 494.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1544, allocations: 27.98 kB / 494.8 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1544, allocations: 3.938 kB / 494.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.1545, allocations: 11.98 kB / 494.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.1546, allocations: 8 kB / 494.8 MB, free: 4.395 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001682/0.1547, allocations: 165.7 kB / 495 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.1548, allocations: 35.62 kB / 495 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.321e-05/0.1549, allocations: 30.62 kB / 495.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1549, allocations: 4 kB / 495.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1549, allocations: 3.938 kB / 495.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1549, allocations: 0 / 495.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/0.1557, allocations: 0.6281 MB / 495.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1557, allocations: 4 kB / 495.7 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.1558, allocations: 15.98 kB / 495.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1558, allocations: 4 kB / 495.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.1558, allocations: 8.75 kB / 495.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1558, allocations: 0 / 495.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1558, allocations: 7.875 kB / 495.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008212/0.1567, allocations: 1.002 MB / 496.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.1567, allocations: 96.83 kB / 496.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.1568, allocations: 4 kB / 496.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1569, allocations: 15.92 kB / 496.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.157, allocations: 19.92 kB / 496.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.157, allocations: 12 kB / 496.9 MB, free: 2.188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002975/0.1573, allocations: 319 kB / 497.2 MB, free: 1.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1573, allocations: 0 / 497.2 MB, free: 1.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004341/0.1578, allocations: 36 kB / 497.2 MB, free: 1.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001074/0.1588, allocations: 477.5 kB / 497.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.1592, allocations: 119.8 kB / 497.8 MB, free: 1.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1592, allocations: 0 / 497.8 MB, free: 1.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1593, allocations: 51.92 kB / 497.9 MB, free: 1.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.1598, allocations: 64.89 kB / 497.9 MB, free: 1.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009613/0.1608, allocations: 0.694 MB / 498.6 MB, free: 464 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.1612, allocations: 0.7752 MB / 499.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1613, allocations: 26.56 kB / 499.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.1614, allocations: 35.42 kB / 499.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1614, allocations: 0 / 499.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of Templates: time 0.006441/0.1678, allocations: 2.668 MB / 0.4904 GB, free: 12.93 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches