Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008805/0.008805, allocations: 101.1 kB / 15.87 MB, free: 6.309 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.001732/0.001733, allocations: 193.6 kB / 16.79 MB, free: 6.238 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.737/1.737, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.4079/0.4079, allocations: 43.49 MB / 313.5 MB, free: 8.523 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.001701/0.001701, allocations: 78.55 kB / 382 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1581, allocations: 57.79 MB / 439.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003331/0.1614, allocations: 1.676 MB / 441.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007176/0.1622, allocations: 335.6 kB / 441.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.1623, allocations: 0 / 441.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.1625, allocations: 47.88 kB / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.1627, allocations: 43.88 kB / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1631, allocations: 143.8 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1633, allocations: 67.77 kB / 442.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1634, allocations: 24.27 kB / 442.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.1634, allocations: 31.84 kB / 442.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/0.1635, allocations: 27.91 kB / 442.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.1636, allocations: 4 kB / 442.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.694e-05/0.1637, allocations: 35.92 kB / 442.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.1637, allocations: 19.97 kB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.1638, allocations: 23.81 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.164, allocations: 95.58 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.164, allocations: 0 / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.164, allocations: 0 / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.164, allocations: 3.938 kB / 442.4 MB, free: 12.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006865/0.1647, allocations: 399.1 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.1648, allocations: 8.031 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.1648, allocations: 8.844 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.1651, allocations: 200.1 kB / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1651, allocations: 4.312 kB / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.1652, allocations: 4.375 kB / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.1654, allocations: 65.73 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.1654, allocations: 4 kB / 443.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1654, allocations: 0 / 443.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1654, allocations: 0 / 443.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.1656, allocations: 39.97 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.1662, allocations: 296.8 kB / 443.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1663, allocations: 58.48 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.1664, allocations: 24.94 kB / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1664, allocations: 0 / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1665, allocations: 30.56 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.455e-06/0.1665, allocations: 7.984 kB / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009391/0.1674, allocations: 233.1 kB / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.1675, allocations: 51.41 kB / 443.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1677, allocations: 169.8 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1677, allocations: 29.7 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.1678, allocations: 100.1 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.1678, allocations: 19.66 kB / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.1679, allocations: 25.7 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.168, allocations: 318.8 kB / 444.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1682, allocations: 39.97 kB / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1683, allocations: 35.97 kB / 444.5 MB, free: 9.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.1685, allocations: 88.8 kB / 444.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1685, allocations: 3.938 kB / 444.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002796/0.1688, allocations: 125.5 kB / 444.7 MB, free: 9.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1689, allocations: 8 kB / 444.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1689, allocations: 0 / 444.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1689, allocations: 0 / 444.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.169, allocations: 23.98 kB / 444.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.1691, allocations: 4.25 kB / 444.8 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.1691, allocations: 7.984 kB / 444.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1691, allocations: 4 kB / 444.8 MB, free: 9.629 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 (7): * Single equations (assignments): 7 * 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.0001377/0.1693, allocations: 129.8 kB / 444.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.1693, allocations: 11.81 kB / 444.9 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.1697, allocations: 142.3 kB / 445.1 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1697, allocations: 7.922 kB / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1697, allocations: 7.875 kB / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1697, allocations: 0 / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.1703, allocations: 410.4 kB / 445.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1703, allocations: 4 kB / 445.5 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/0.1704, allocations: 19.98 kB / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1704, allocations: 3.938 kB / 445.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1704, allocations: 4 kB / 445.5 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1704, allocations: 0 / 445.5 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1704, allocations: 0 / 445.5 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.1707, allocations: 219.4 kB / 445.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1708, allocations: 84.95 kB / 445.8 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1708, allocations: 4 kB / 445.8 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.1709, allocations: 11.92 kB / 445.8 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.1709, allocations: 11.98 kB / 445.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1709, allocations: 0 / 445.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.171, allocations: 128 kB / 445.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 445.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1713, allocations: 24 kB / 446 MB, free: 8.324 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 (7): * Single equations (assignments): 7 * 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.000931/0.1722, allocations: 406.5 kB / 446.4 MB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.1726, allocations: 87.92 kB / 446.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1726, allocations: 0 / 446.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1727, allocations: 55.91 kB / 446.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.1732, allocations: 19.52 kB / 446.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.1738, allocations: 251.7 kB / 446.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.1742, allocations: 0.7083 MB / 447.5 MB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.53e-05/0.1743, allocations: 24.27 kB / 447.5 MB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.1744, allocations: 11.44 kB / 447.5 MB, free: 6.754 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1744, allocations: 0 / 447.5 MB, free: 6.754 MB / 382.1 MB Notification: Performance of Templates: time 0.004713/0.1791, allocations: 1.191 MB / 448.7 MB, free: 5.562 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches