Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001029, allocations: 92.2 kB / 16.03 MB, free: 56 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.001378/0.001378, allocations: 184.9 kB / 16.93 MB, free: 6.895 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.05/2.05, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.4336/0.4336, allocations: 43.58 MB / 315 MB, free: 8.992 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.0005407/0.0005406, allocations: 12 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.148, allocations: 58.87 MB / 443.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002433/0.1505, allocations: 1.286 MB / 444.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000754/0.1513, allocations: 311.7 kB / 445 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.1514, allocations: 3.938 kB / 445.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006188/0.152, allocations: 463.2 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.1524, allocations: 239.5 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.1529, allocations: 139.8 kB / 445.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.1532, allocations: 155.6 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1533, allocations: 19.97 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1535, allocations: 95.8 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.1537, allocations: 203.6 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1538, allocations: 0 / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.1539, allocations: 23.98 kB / 446.4 MB, free: 10 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.154, allocations: 79.69 kB / 446.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1541, allocations: 124.8 kB / 446.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.1544, allocations: 231.2 kB / 446.8 MB, free: 9.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1544, allocations: 0 / 446.8 MB, free: 9.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1544, allocations: 0 / 446.8 MB, free: 9.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1544, allocations: 4 kB / 446.8 MB, free: 9.562 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.0006805/0.1551, allocations: 0.5794 MB / 447.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1552, allocations: 8.031 kB / 447.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.1552, allocations: 40.47 kB / 447.4 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.1555, allocations: 296.1 kB / 447.7 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1555, allocations: 4.375 kB / 447.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1555, allocations: 384 / 447.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1557, allocations: 61.8 kB / 447.8 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1557, allocations: 0 / 447.8 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1557, allocations: 7.938 kB / 447.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1557, allocations: 0 / 447.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.254e-05/0.1558, allocations: 23.98 kB / 447.8 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.1563, allocations: 380.8 kB / 448.2 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.512e-05/0.1564, allocations: 38.56 kB / 448.2 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.1565, allocations: 28.84 kB / 448.2 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1565, allocations: 0 / 448.2 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1566, allocations: 34.56 kB / 448.3 MB, free: 7.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.1566, allocations: 0 / 448.3 MB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002785/0.1568, allocations: 113.1 kB / 448.4 MB, free: 7.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1569, allocations: 51.41 kB / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007975/0.1577, allocations: 0.8535 MB / 449.3 MB, free: 6.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1577, allocations: 25.7 kB / 449.3 MB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1579, allocations: 224.1 kB / 449.5 MB, free: 6.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.1579, allocations: 8.031 kB / 449.5 MB, free: 6.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.1579, allocations: 13.72 kB / 449.6 MB, free: 6.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1581, allocations: 358.7 kB / 449.9 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.1582, allocations: 19.92 kB / 449.9 MB, free: 6.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.1582, allocations: 15.92 kB / 449.9 MB, free: 6.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.34e-05/0.1583, allocations: 36.91 kB / 450 MB, free: 6.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1583, allocations: 0 / 450 MB, free: 6.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001471/0.1584, allocations: 89.22 kB / 450.1 MB, free: 6.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1585, allocations: 4 kB / 450.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1585, allocations: 0 / 450.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1585, allocations: 0 / 450.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.1586, allocations: 11.98 kB / 450.1 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1586, allocations: 4.031 kB / 450.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.1586, allocations: 7.906 kB / 450.1 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1587, allocations: 0 / 450.1 MB, free: 6.035 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 (2): * Single equations (assignments): 2 * 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.0001818/0.1588, allocations: 221.6 kB / 450.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.1589, allocations: 35.53 kB / 450.3 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.1591, allocations: 116.6 kB / 450.5 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1591, allocations: 4.031 kB / 450.5 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1591, allocations: 0 / 450.5 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1591, allocations: 0 / 450.5 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.1594, allocations: 285.5 kB / 450.7 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1594, allocations: 0 / 450.7 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.1595, allocations: 4 kB / 450.7 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1595, allocations: 0 / 450.7 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1595, allocations: 7.938 kB / 450.7 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1595, allocations: 3.984 kB / 450.8 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1595, allocations: 0 / 450.8 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.1597, allocations: 198.9 kB / 450.9 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.1598, allocations: 112.6 kB / 451.1 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.1598, allocations: 0 / 451.1 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.1599, allocations: 0 / 451.1 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.1599, allocations: 4 kB / 451.1 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1599, allocations: 4.031 kB / 451.1 MB, free: 4.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005859/0.1605, allocations: 0.6511 MB / 451.7 MB, free: 4.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1605, allocations: 0 / 451.7 MB, free: 4.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1608, allocations: 23.91 kB / 451.7 MB, free: 4.285 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 (2): * Single equations (assignments): 2 * 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.0008238/0.1616, allocations: 358.9 kB / 452.1 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.1617, allocations: 35.91 kB / 452.1 MB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1617, allocations: 0 / 452.1 MB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.1618, allocations: 8 kB / 452.1 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1622, allocations: 29.89 kB / 452.2 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1633, allocations: 0.8407 MB / 453 MB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.1637, allocations: 0.8223 MB / 453.8 MB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.619e-05/0.1638, allocations: 15.97 kB / 453.8 MB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1638, allocations: 11.44 kB / 453.9 MB, free: 2.137 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1638, allocations: 0 / 453.9 MB, free: 2.137 MB / 382.1 MB Notification: Performance of Templates: time 0.004313/0.1681, allocations: 1.155 MB / 455 MB, free: 0.9805 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches