Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.001051, allocations: 97.48 kB / 17 MB, free: 6.418 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.00114/0.00114, allocations: 189.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2099/0.2099, allocations: 44.24 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 16.98 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1624, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.00257/0.1651, allocations: 1.255 MB / 472.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1667, allocations: 0.9532 MB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.1668, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.167, allocations: 19.91 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1672, allocations: 31.92 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1675, allocations: 78.72 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.1676, allocations: 51.78 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1677, allocations: 11.98 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.239e-05/0.1678, allocations: 19.86 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.168, allocations: 19.92 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.168, allocations: 0 / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1681, allocations: 43.97 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.1682, allocations: 15.92 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.1682, allocations: 33.7 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1684, allocations: 59.91 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1684, allocations: 0 / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1684, allocations: 0 / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1684, allocations: 0 / 474.2 MB, free: 11.07 MB / 350.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.0005276/0.1689, allocations: 371.3 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.169, allocations: 8.562 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.169, allocations: 8 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.1694, allocations: 190.9 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1694, allocations: 0 / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.1695, allocations: 11.95 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.1698, allocations: 59.39 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1698, allocations: 0 / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1698, allocations: 0 / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1698, allocations: 3.938 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.17, allocations: 31.98 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.1704, allocations: 268.9 kB / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.1706, allocations: 42.56 kB / 475.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1708, allocations: 24.8 kB / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.1708, allocations: 4.078 kB / 475.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1709, allocations: 30.56 kB / 475.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1709, allocations: 0 / 475.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006161/0.1715, allocations: 157.3 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.1716, allocations: 81.11 kB / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1717, allocations: 133.8 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.1718, allocations: 25.7 kB / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.1718, allocations: 92.14 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1719, allocations: 19.73 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.1719, allocations: 0 / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.172, allocations: 322.8 kB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.1721, allocations: 19.92 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1722, allocations: 45.7 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.1723, allocations: 19.98 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1723, allocations: 0 / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001736/0.1725, allocations: 93.7 kB / 476.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1725, allocations: 11.97 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1725, allocations: 0 / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1725, allocations: 3.984 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.1726, allocations: 12 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1726, allocations: 0 / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1727, allocations: 11.98 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1727, allocations: 4 kB / 476.2 MB, free: 8.773 MB / 350.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.1728, allocations: 117.8 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.1728, allocations: 11.91 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.173, allocations: 93.56 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1731, allocations: 0 / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1731, allocations: 0 / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.1731, allocations: 4 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1735, allocations: 358.5 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1735, allocations: 0 / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.1736, allocations: 16.27 kB / 476.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1736, allocations: 0 / 476.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1736, allocations: 4 kB / 476.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1736, allocations: 3.938 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1736, allocations: 0 / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1739, allocations: 187.4 kB / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.1739, allocations: 93 kB / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1739, allocations: 4.25 kB / 477.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-05/0.174, allocations: 8 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.1741, allocations: 7.984 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1741, allocations: 0 / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.217e-05/0.1742, allocations: 106.3 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1742, allocations: 0 / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1744, allocations: 23.98 kB / 477.3 MB, free: 7.652 MB / 350.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/0.1755, allocations: 450.7 kB / 477.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.1757, allocations: 55.91 kB / 477.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1757, allocations: 0 / 477.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.852e-05/0.1758, allocations: 31.92 kB / 477.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1761, allocations: 19.94 kB / 477.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.1765, allocations: 168.8 kB / 478 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1768, allocations: 0.6926 MB / 478.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.1768, allocations: 7.984 kB / 478.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.1769, allocations: 11.44 kB / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1769, allocations: 0 / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Templates: time 0.004249/0.1811, allocations: 1.274 MB / 480 MB, free: 5.074 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches