Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 96.14 kB / 15.87 MB, free: 16 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.001566/0.001565, allocations: 201.8 kB / 16.79 MB, free: 6.84 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.821/1.821, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.3747/0.3747, allocations: 43.49 MB / 313.5 MB, free: 8.555 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.001529/0.001529, allocations: 67.89 kB / 382 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1537, allocations: 57.79 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.004015/0.1578, allocations: 1.629 MB / 441.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007438/0.1586, allocations: 335.6 kB / 441.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.1587, allocations: 0 / 441.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.1593, allocations: 459.1 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.1597, allocations: 239.6 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1601, allocations: 143.8 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.1603, allocations: 159.7 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1604, allocations: 16.17 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1606, allocations: 107.7 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.1609, allocations: 203.6 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1609, allocations: 0 / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.161, allocations: 31.92 kB / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1611, allocations: 79.69 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1612, allocations: 99.05 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.1615, allocations: 235.3 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1615, allocations: 0 / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1616, allocations: 0 / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.1616, allocations: 0 / 443.5 MB, free: 11.14 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009832/0.1626, allocations: 0.6374 MB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.1626, allocations: 8.031 kB / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.1627, allocations: 44.38 kB / 444.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.1632, allocations: 296.2 kB / 444.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1632, allocations: 4.375 kB / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.1632, allocations: 4.375 kB / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.1635, allocations: 57.61 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1635, allocations: 0 / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1635, allocations: 0 / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1635, allocations: 0 / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1636, allocations: 35.97 kB / 444.6 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.1643, allocations: 396.7 kB / 445 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1645, allocations: 42.55 kB / 445 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.1645, allocations: 24.94 kB / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1646, allocations: 4 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1646, allocations: 34.56 kB / 445.1 MB, free: 9.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1646, allocations: 0 / 445.1 MB, free: 9.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003739/0.165, allocations: 129.1 kB / 445.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.1651, allocations: 51.41 kB / 445.3 MB, free: 9.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008073/0.1659, allocations: 0.8496 MB / 446.1 MB, free: 8.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1659, allocations: 25.7 kB / 446.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1661, allocations: 220 kB / 446.3 MB, free: 8.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1661, allocations: 15.89 kB / 446.4 MB, free: 8.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1661, allocations: 9.719 kB / 446.4 MB, free: 8.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1663, allocations: 366.7 kB / 446.7 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.1664, allocations: 11.98 kB / 446.7 MB, free: 7.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.1664, allocations: 23.97 kB / 446.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1666, allocations: 44.83 kB / 446.8 MB, free: 7.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1666, allocations: 0 / 446.8 MB, free: 7.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001829/0.1668, allocations: 109.4 kB / 446.9 MB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1668, allocations: 4 kB / 446.9 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1668, allocations: 0 / 446.9 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1668, allocations: 7.969 kB / 446.9 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1669, allocations: 15.92 kB / 446.9 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.167, allocations: 0 / 446.9 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.167, allocations: 19.83 kB / 447 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.167, allocations: 0 / 447 MB, free: 7.465 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0002984/0.1673, allocations: 221.6 kB / 447.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.1674, allocations: 39.53 kB / 447.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.1677, allocations: 124.9 kB / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1677, allocations: 0 / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1677, allocations: 0 / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1677, allocations: 4 kB / 447.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.168, allocations: 289.5 kB / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.168, allocations: 0 / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.1681, allocations: 11.98 kB / 447.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1681, allocations: 0 / 447.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1681, allocations: 0 / 447.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1681, allocations: 0 / 447.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.1681, allocations: 4 kB / 447.6 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.1684, allocations: 206.9 kB / 447.8 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.1685, allocations: 116.6 kB / 448 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.1685, allocations: 4 kB / 448 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.1686, allocations: 7.984 kB / 448 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.1686, allocations: 0 / 448 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.1687, allocations: 0 / 448 MB, free: 6.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000675/0.1693, allocations: 0.6472 MB / 448.6 MB, free: 5.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1693, allocations: 0 / 448.6 MB, free: 5.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1696, allocations: 27.98 kB / 448.6 MB, free: 5.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0008441/0.1705, allocations: 340.1 kB / 449 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1707, allocations: 47.95 kB / 449 MB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1707, allocations: 0 / 449 MB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.1708, allocations: 27.92 kB / 449 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.1712, allocations: 18.14 kB / 449.1 MB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.1725, allocations: 0.8437 MB / 449.9 MB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.173, allocations: 0.834 MB / 450.7 MB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.985e-05/0.1731, allocations: 7.984 kB / 450.8 MB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.1731, allocations: 11.44 kB / 450.8 MB, free: 3.516 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1731, allocations: 0 / 450.8 MB, free: 3.516 MB / 382.1 MB Notification: Performance of Templates: time 0.005275/0.1784, allocations: 1.272 MB / 452 MB, free: 2.242 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches