Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 174.2 kB / 16.58 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 222.8 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4689/0.4689, allocations: 43.56 MB / 314.6 MB, free: 8.734 MB / 254.1 MB 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.0005144/0.0005145, allocations: 23.98 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1438, allocations: 58.86 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002978/0.1468, allocations: 1.394 MB / 444.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.1501, allocations: 1.321 MB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.1503, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.1506, allocations: 31.83 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.1509, allocations: 43.84 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.1513, allocations: 71.84 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.1515, allocations: 83.69 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.1516, allocations: 16.22 kB / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1518, allocations: 31.84 kB / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1519, allocations: 39.78 kB / 445.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.152, allocations: 4 kB / 445.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.1522, allocations: 47.98 kB / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.1522, allocations: 15.91 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.1523, allocations: 33.7 kB / 446 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1525, allocations: 88.09 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1525, allocations: 0 / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.1526, allocations: 0 / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1526, allocations: 7.875 kB / 446 MB, free: 9.758 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.00064/0.1532, allocations: 402.9 kB / 446.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1533, allocations: 8.031 kB / 446.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.1533, allocations: 7.906 kB / 446.5 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.1537, allocations: 206.9 kB / 446.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1537, allocations: 0 / 446.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1538, allocations: 0 / 446.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.1541, allocations: 71.38 kB / 446.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1541, allocations: 3.953 kB / 446.7 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.1542, allocations: 4 kB / 446.7 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.1542, allocations: 7.938 kB / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1543, allocations: 19.98 kB / 446.8 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.1548, allocations: 273 kB / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.1551, allocations: 54.69 kB / 447.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.992e-05/0.1552, allocations: 32.73 kB / 447.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1552, allocations: 0 / 447.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.1555, allocations: 71.39 kB / 447.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.1555, allocations: 3.938 kB / 447.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007925/0.1563, allocations: 177.1 kB / 447.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.1564, allocations: 81.11 kB / 447.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.1566, allocations: 149.8 kB / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1567, allocations: 25.7 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.1567, allocations: 96.14 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.1568, allocations: 23.64 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.1568, allocations: 4 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.157, allocations: 326.8 kB / 448.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.1571, allocations: 24 kB / 448.1 MB, free: 7.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1573, allocations: 42.56 kB / 448.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1574, allocations: 27.92 kB / 448.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1574, allocations: 0 / 448.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003258/0.1577, allocations: 93.59 kB / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1578, allocations: 4 kB / 448.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1578, allocations: 0 / 448.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1578, allocations: 0 / 448.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.158, allocations: 27.92 kB / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.158, allocations: 4.062 kB / 448.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.481e-05/0.1581, allocations: 4.188 kB / 448.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1581, allocations: 0 / 448.3 MB, free: 7.285 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.1583, allocations: 133.7 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.1583, allocations: 7.906 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.608e-05/0.1584, allocations: 12.72 kB / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.1584, allocations: 0 / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1584, allocations: 0 / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1584, allocations: 0 / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.1591, allocations: 399.3 kB / 448.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1592, allocations: 0 / 448.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.1592, allocations: 8 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.1592, allocations: 4 kB / 448.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1593, allocations: 4 kB / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1593, allocations: 3.938 kB / 448.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1593, allocations: 0 / 448.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.1597, allocations: 208.2 kB / 449 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.1598, allocations: 93 kB / 449.1 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1598, allocations: 3.938 kB / 449.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.16, allocations: 4 kB / 449.1 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1601, allocations: 15.97 kB / 449.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.1601, allocations: 4 kB / 449.2 MB, free: 6.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1603, allocations: 122.9 kB / 449.3 MB, free: 6.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1603, allocations: 0 / 449.3 MB, free: 6.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004883/0.1608, allocations: 35.94 kB / 449.3 MB, free: 6.148 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001928/0.1627, allocations: 0.4965 MB / 449.8 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.163, allocations: 59.97 kB / 449.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.163, allocations: 0 / 449.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1632, allocations: 31.88 kB / 449.9 MB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.1637, allocations: 23.97 kB / 449.9 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.1643, allocations: 202.2 kB / 450.1 MB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.1647, allocations: 0.7004 MB / 450.8 MB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.1648, allocations: 21.17 kB / 450.8 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.1649, allocations: 19.38 kB / 450.9 MB, free: 4.574 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1649, allocations: 0 / 450.9 MB, free: 4.574 MB / 382.1 MB Notification: Performance of Templates: time 0.008066/0.173, allocations: 1.838 MB / 452.7 MB, free: 2.738 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches