Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009474/0.0009471, allocations: 180.1 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008467/0.0008466, allocations: 89.5 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4205/0.4205, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004301, allocations: 16 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1662, allocations: 58.86 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002992/0.1693, allocations: 1.251 MB / 491.5 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.17, allocations: 291.8 kB / 491.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.17, allocations: 0 / 491.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.1703, allocations: 23.91 kB / 491.8 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1705, allocations: 27.92 kB / 491.8 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1707, allocations: 67.84 kB / 491.9 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.1709, allocations: 51.84 kB / 491.9 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.171, allocations: 7.984 kB / 492 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.1711, allocations: 15.92 kB / 492 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.1711, allocations: 23.86 kB / 492 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1712, allocations: 0 / 492 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1713, allocations: 27.98 kB / 492 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.1713, allocations: 15.92 kB / 492 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.1714, allocations: 29.7 kB / 492.1 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1716, allocations: 55.92 kB / 492.1 MB, free: 9.074 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.1716, allocations: 3.938 kB / 492.1 MB, free: 9.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1716, allocations: 0 / 492.1 MB, free: 9.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1716, allocations: 0 / 492.1 MB, free: 9.07 MB / 378.7 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.0005621/0.1722, allocations: 379.3 kB / 492.5 MB, free: 8.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1722, allocations: 19.95 kB / 492.5 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.1723, allocations: 11.86 kB / 492.5 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1725, allocations: 190.5 kB / 492.7 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1726, allocations: 4 kB / 492.7 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.1726, allocations: 8 kB / 492.7 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1728, allocations: 45.69 kB / 492.8 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1728, allocations: 0 / 492.8 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1728, allocations: 3.953 kB / 492.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1728, allocations: 0 / 492.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1729, allocations: 27.92 kB / 492.8 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.1733, allocations: 276.9 kB / 493.1 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.1736, allocations: 38.56 kB / 493.1 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.022e-05/0.1736, allocations: 32.88 kB / 493.1 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.1737, allocations: 3.953 kB / 493.1 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1737, allocations: 34.56 kB / 493.2 MB, free: 7.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1737, allocations: 0 / 493.2 MB, free: 7.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006145/0.1743, allocations: 153.3 kB / 493.3 MB, free: 7.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.1744, allocations: 55.41 kB / 493.4 MB, free: 7.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.1746, allocations: 173.6 kB / 493.5 MB, free: 7.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1747, allocations: 25.7 kB / 493.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.1748, allocations: 96.12 kB / 493.7 MB, free: 7.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1748, allocations: 19.66 kB / 493.7 MB, free: 7.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.1748, allocations: 0 / 493.7 MB, free: 7.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.175, allocations: 326.8 kB / 494 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/0.175, allocations: 23.98 kB / 494 MB, free: 6.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.1751, allocations: 16.05 kB / 494 MB, free: 6.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.284e-05/0.1752, allocations: 32.11 kB / 494.1 MB, free: 6.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1752, allocations: 7.953 kB / 494.1 MB, free: 6.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001871/0.1754, allocations: 81.58 kB / 494.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1755, allocations: 11.94 kB / 494.2 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1755, allocations: 0 / 494.2 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1755, allocations: 0 / 494.2 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.599e-05/0.1756, allocations: 15.98 kB / 494.2 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1756, allocations: 4 kB / 494.2 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.1756, allocations: 7.938 kB / 494.2 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1756, allocations: 4.281 kB / 494.2 MB, free: 6.77 MB / 378.7 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.000116/0.1758, allocations: 117.8 kB / 494.3 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.1758, allocations: 11.86 kB / 494.3 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.1761, allocations: 106 kB / 494.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1761, allocations: 3.938 kB / 494.4 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1761, allocations: 0 / 494.4 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1761, allocations: 0 / 494.4 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.1766, allocations: 354.5 kB / 494.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1766, allocations: 0 / 494.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.1766, allocations: 16 kB / 494.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1766, allocations: 0 / 494.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1767, allocations: 4 kB / 494.8 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1767, allocations: 0 / 494.8 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1767, allocations: 192 / 494.8 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1769, allocations: 199.3 kB / 495 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.177, allocations: 81.02 kB / 495.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.177, allocations: 0 / 495.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.1771, allocations: 11.98 kB / 495.1 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1771, allocations: 0 / 495.1 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1771, allocations: 12 kB / 495.1 MB, free: 5.766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.1773, allocations: 130.7 kB / 495.2 MB, free: 5.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1773, allocations: 0 / 495.2 MB, free: 5.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.1775, allocations: 12 kB / 495.2 MB, free: 5.629 MB / 378.7 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.0009944/0.1785, allocations: 408.4 kB / 495.6 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.1787, allocations: 59.91 kB / 495.7 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1788, allocations: 0 / 495.7 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.1788, allocations: 27.98 kB / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1792, allocations: 19.94 kB / 495.7 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.1796, allocations: 223.3 kB / 496 MB, free: 4.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.18, allocations: 0.7003 MB / 496.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.18, allocations: 11.44 kB / 496.7 MB, free: 4.176 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.18, allocations: 0 / 496.7 MB, free: 4.176 MB / 378.7 MB Notification: Performance of Templates: time 0.00312/0.1831, allocations: 1.384 MB / 498.1 MB, free: 2.793 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches