Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 97.8 kB / 16.02 MB, free: 84 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.001448/0.001448, allocations: 177.2 kB / 16.92 MB, free: 6.676 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.145/2.145, allocations: 205.4 MB / 223.1 MB, free: 5.57 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.4284/0.4284, allocations: 43.57 MB / 315 MB, free: 9.055 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.0005803/0.0005802, allocations: 23.98 kB / 384.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.15, allocations: 58.86 MB / 443.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002839/0.1529, allocations: 1.503 MB / 445 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.155, allocations: 0.851 MB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.1552, allocations: 3.938 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009218/0.1561, allocations: 299.4 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.1566, allocations: 195.5 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.1572, allocations: 135.7 kB / 446.4 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000447/0.1577, allocations: 227.4 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.1578, allocations: 25.5 kB / 446.7 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.158, allocations: 119.5 kB / 446.8 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.1584, allocations: 187.5 kB / 447 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.1584, allocations: 4 kB / 447 MB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.1586, allocations: 39.97 kB / 447 MB, free: 9.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.1588, allocations: 143.6 kB / 447.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.159, allocations: 172.5 kB / 447.3 MB, free: 8.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.1596, allocations: 346.9 kB / 447.7 MB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1596, allocations: 0 / 447.7 MB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1596, allocations: 0 / 447.7 MB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.1596, allocations: 0 / 447.7 MB, free: 8.648 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001188/0.1608, allocations: 0.6611 MB / 448.3 MB, free: 7.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.1609, allocations: 12.03 kB / 448.3 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.161, allocations: 52.28 kB / 448.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006831/0.1617, allocations: 451.8 kB / 448.8 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1617, allocations: 4.375 kB / 448.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1618, allocations: 8.125 kB / 448.8 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.162, allocations: 95.28 kB / 448.9 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.162, allocations: 0 / 448.9 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.162, allocations: 0 / 448.9 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1621, allocations: 0 / 448.9 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1622, allocations: 35.97 kB / 449 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.1627, allocations: 374.3 kB / 449.3 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.163, allocations: 105.2 kB / 449.4 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.482e-05/0.1632, allocations: 45.64 kB / 449.5 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1632, allocations: 0 / 449.5 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.1635, allocations: 113 kB / 449.6 MB, free: 6.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.1635, allocations: 0 / 449.6 MB, free: 6.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005659/0.1641, allocations: 200.9 kB / 449.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.1641, allocations: 81.11 kB / 449.9 MB, free: 6.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.1656, allocations: 1.03 MB / 450.9 MB, free: 5.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1656, allocations: 29.7 kB / 450.9 MB, free: 5.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.1658, allocations: 236 kB / 451.2 MB, free: 4.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.1659, allocations: 31.64 kB / 451.2 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.166, allocations: 13.72 kB / 451.2 MB, free: 4.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.1662, allocations: 374.8 kB / 451.6 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.1663, allocations: 23.98 kB / 451.6 MB, free: 4.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.787e-05/0.1664, allocations: 59.41 kB / 451.6 MB, free: 4.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1666, allocations: 87.3 kB / 451.7 MB, free: 4.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1666, allocations: 4 kB / 451.7 MB, free: 4.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003835/0.167, allocations: 177.4 kB / 451.9 MB, free: 4.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.167, allocations: 8 kB / 451.9 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1671, allocations: 0 / 451.9 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.1671, allocations: 3.984 kB / 451.9 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1672, allocations: 23.98 kB / 451.9 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1672, allocations: 0 / 451.9 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.1674, allocations: 15.94 kB / 452 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.1674, allocations: 12.06 kB / 452 MB, free: 4.047 MB / 382.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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003226/0.1678, allocations: 229.5 kB / 452.2 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/0.1679, allocations: 51.34 kB / 452.2 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.168, allocations: 67.94 kB / 452.3 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.168, allocations: 0 / 452.3 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.168, allocations: 0 / 452.3 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.168, allocations: 0 / 452.3 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.1684, allocations: 341.4 kB / 452.6 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1685, allocations: 0 / 452.6 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.1685, allocations: 16 kB / 452.7 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1685, allocations: 0 / 452.7 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1685, allocations: 7.984 kB / 452.7 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1685, allocations: 0 / 452.7 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1686, allocations: 0 / 452.7 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.1689, allocations: 201.2 kB / 452.9 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.1691, allocations: 148.4 kB / 453 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.1691, allocations: 4 kB / 453 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.1692, allocations: 8 kB / 453 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.1693, allocations: 7.984 kB / 453 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.1693, allocations: 4 kB / 453 MB, free: 2.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007879/0.1701, allocations: 0.776 MB / 453.8 MB, free: 2.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1701, allocations: 0 / 453.8 MB, free: 2.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1704, allocations: 44 kB / 453.9 MB, free: 2.066 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009872/0.1714, allocations: 431.2 kB / 454.3 MB, free: 1.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.1717, allocations: 79.89 kB / 454.4 MB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1717, allocations: 0 / 454.4 MB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.1718, allocations: 39.92 kB / 454.4 MB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.1723, allocations: 66.2 kB / 454.5 MB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1738, allocations: 0.9519 MB / 455.4 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2091/0.3829, allocations: 0.8414 MB / 456.2 MB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.3832, allocations: 58.33 kB / 456.3 MB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.3833, allocations: 32.89 kB / 456.3 MB, free: 45.78 MB / 382.1 MB Notification: Performance of SimCode: time 2.305e-06/0.3833, allocations: 0 / 456.3 MB, free: 45.78 MB / 382.1 MB Notification: Performance of Templates: time 0.006733/0.39, allocations: 3.462 MB / 459.8 MB, free: 45.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches