Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 102.6 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 190.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2583/0.2583, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001495/0.001495, allocations: 80.83 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1477, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003921/0.1517, allocations: 1.928 MB / 442.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1534, allocations: 0.9597 MB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1535, allocations: 7.938 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.1543, allocations: 203.5 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.1546, allocations: 151.4 kB / 443.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.1551, allocations: 203.1 kB / 444 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.1553, allocations: 247.3 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1554, allocations: 21.67 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1555, allocations: 107.5 kB / 444.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.1557, allocations: 107.6 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.1557, allocations: 8 kB / 444.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1558, allocations: 59.92 kB / 444.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.1559, allocations: 59.83 kB / 444.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.156, allocations: 79.47 kB / 444.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1563, allocations: 235.4 kB / 444.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1563, allocations: 0 / 444.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1563, allocations: 0 / 444.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1563, allocations: 0 / 444.9 MB, free: 2.527 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007164/0.157, allocations: 0.5389 MB / 445.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1571, allocations: 15.89 kB / 445.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.1571, allocations: 28.66 kB / 445.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.1574, allocations: 283.5 kB / 445.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1574, allocations: 4.375 kB / 445.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1575, allocations: 8.125 kB / 445.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.1577, allocations: 100.2 kB / 445.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1577, allocations: 0 / 445.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.1577, allocations: 3.984 kB / 445.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1577, allocations: 8 kB / 445.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.1578, allocations: 43.86 kB / 445.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.1583, allocations: 377.5 kB / 446.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1586, allocations: 121.2 kB / 446.4 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/0.1587, allocations: 41.7 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.1587, allocations: 7.984 kB / 446.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.1589, allocations: 124.8 kB / 446.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1589, allocations: 0 / 446.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003897/0.1593, allocations: 173.4 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.1594, allocations: 106.8 kB / 446.8 MB, free: 344 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.1597, allocations: 339.1 kB / 447.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1597, allocations: 25.7 kB / 447.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.1599, allocations: 140.1 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.16, allocations: 35.55 kB / 447.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.16, allocations: 29.72 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.1602, allocations: 342.8 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.1603, allocations: 31.97 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1605, allocations: 73.14 kB / 447.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.1607, allocations: 107.9 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1607, allocations: 0 / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003555/0.161, allocations: 141.3 kB / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1611, allocations: 5.25 kB / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1611, allocations: 0 / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1611, allocations: 8.062 kB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1612, allocations: 23.92 kB / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1612, allocations: 0 / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.1613, allocations: 15.98 kB / 448.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1613, allocations: 7.938 kB / 448.1 MB, free: 14.96 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0002371/0.1616, allocations: 153.7 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.1616, allocations: 23.72 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.1617, allocations: 25.73 kB / 448.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1617, allocations: 8 kB / 448.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1617, allocations: 0 / 448.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1617, allocations: 0 / 448.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.162, allocations: 265.2 kB / 448.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.162, allocations: 0 / 448.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.162, allocations: 4 kB / 448.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.162, allocations: 4 kB / 448.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.162, allocations: 4.125 kB / 448.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.162, allocations: 0 / 448.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.162, allocations: 4 kB / 448.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.1623, allocations: 193.5 kB / 448.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.1624, allocations: 88.92 kB / 448.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.1625, allocations: 7.938 kB / 448.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.1625, allocations: 11.98 kB / 448.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.1626, allocations: 7.984 kB / 448.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1626, allocations: 7.938 kB / 448.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002359/0.1629, allocations: 253.9 kB / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1629, allocations: 0 / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1631, allocations: 39.89 kB / 449.2 MB, free: 13.79 MB / 334.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.0009717/0.1641, allocations: 418 kB / 449.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.1644, allocations: 103.8 kB / 449.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1645, allocations: 0 / 449.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1646, allocations: 40.11 kB / 449.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.165, allocations: 69.8 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.1656, allocations: 380.3 kB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.166, allocations: 0.7476 MB / 450.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.33e-05/0.1661, allocations: 33.92 kB / 451 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.1662, allocations: 19.44 kB / 451 MB, free: 12.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1662, allocations: 0 / 451 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Templates: time 0.007026/0.1732, allocations: 2.97 MB / 454 MB, free: 9.062 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches