Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 179.5 kB / 16.41 MB, free: 5.707 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.867/1.867, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0008023/0.0008023, allocations: 96.8 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.4772/0.4772, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005345/0.0005345, allocations: 16 kB / 431.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1656, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.0031/0.1688, allocations: 1.53 MB / 491.8 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.1708, allocations: 0.8318 MB / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.1711, allocations: 0 / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.1716, allocations: 147.6 kB / 492.8 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.172, allocations: 123.7 kB / 492.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.1727, allocations: 123.7 kB / 493 MB, free: 8.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.1731, allocations: 187.4 kB / 493.2 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.1733, allocations: 25.53 kB / 493.2 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.1735, allocations: 87.61 kB / 493.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.1737, allocations: 111.6 kB / 493.4 MB, free: 7.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.1738, allocations: 7.938 kB / 493.4 MB, free: 7.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.174, allocations: 32 kB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.635e-05/0.1741, allocations: 47.81 kB / 493.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.1742, allocations: 53.58 kB / 493.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.1745, allocations: 140 kB / 493.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1745, allocations: 0 / 493.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1745, allocations: 0 / 493.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1745, allocations: 0 / 493.7 MB, free: 7.512 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009121/0.1754, allocations: 494.2 kB / 494.2 MB, free: 6.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1755, allocations: 12.02 kB / 494.2 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.1756, allocations: 31.62 kB / 494.2 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.176, allocations: 254.5 kB / 494.4 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1761, allocations: 8 kB / 494.5 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.1761, allocations: 4 kB / 494.5 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.1764, allocations: 99.34 kB / 494.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1765, allocations: 0 / 494.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.1765, allocations: 3.953 kB / 494.6 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1765, allocations: 4 kB / 494.6 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1767, allocations: 43.91 kB / 494.6 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/0.1774, allocations: 432.9 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.1778, allocations: 121.3 kB / 495.1 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.178, allocations: 41.7 kB / 495.2 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.178, allocations: 11.94 kB / 495.2 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000331/0.1783, allocations: 109 kB / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.923e-06/0.1784, allocations: 0 / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001226/0.1796, allocations: 356 kB / 495.7 MB, free: 5.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.1797, allocations: 85.09 kB / 495.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.1802, allocations: 350.9 kB / 496.1 MB, free: 4.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1802, allocations: 29.7 kB / 496.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1804, allocations: 140.4 kB / 496.2 MB, free: 4.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.1805, allocations: 51.34 kB / 496.3 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.1805, allocations: 11.88 kB / 496.3 MB, free: 4.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1806, allocations: 338.8 kB / 496.6 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.1808, allocations: 47.92 kB / 496.7 MB, free: 4.254 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.181, allocations: 71.41 kB / 496.8 MB, free: 4.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1812, allocations: 40 kB / 496.8 MB, free: 4.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1812, allocations: 0 / 496.8 MB, free: 4.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004595/0.1816, allocations: 181.2 kB / 497 MB, free: 3.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1817, allocations: 4 kB / 497 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1817, allocations: 0 / 497 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1817, allocations: 4 kB / 497 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.1819, allocations: 27.98 kB / 497 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.1819, allocations: 7.938 kB / 497 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.1821, allocations: 11.98 kB / 497 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.1821, allocations: 4 kB / 497 MB, free: 3.891 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001911/0.1823, allocations: 157.8 kB / 497.2 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.1824, allocations: 23.72 kB / 497.2 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.654e-05/0.1825, allocations: 33.72 kB / 497.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1825, allocations: 4 kB / 497.2 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1825, allocations: 0 / 497.2 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1825, allocations: 3.984 kB / 497.2 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009894/0.1835, allocations: 0.6166 MB / 497.9 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1835, allocations: 4.75 kB / 497.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.1836, allocations: 15.94 kB / 497.9 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1836, allocations: 4 kB / 497.9 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.1837, allocations: 11.98 kB / 497.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1837, allocations: 0 / 497.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.1837, allocations: 7.953 kB / 497.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.1842, allocations: 360.2 kB / 498.3 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.1843, allocations: 108.7 kB / 498.4 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.1844, allocations: 4 kB / 498.4 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.1846, allocations: 11.94 kB / 498.4 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.1847, allocations: 15.94 kB / 498.4 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.1847, allocations: 11.98 kB / 498.4 MB, free: 2.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003518/0.1851, allocations: 265.9 kB / 498.7 MB, free: 2.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1851, allocations: 0 / 498.7 MB, free: 2.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005043/0.1856, allocations: 32 kB / 498.7 MB, free: 2.102 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001402/0.187, allocations: 480.1 kB / 499.2 MB, free: 1.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000401/0.1874, allocations: 119.8 kB / 499.3 MB, free: 1.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1875, allocations: 0 / 499.3 MB, free: 1.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.1877, allocations: 55.92 kB / 499.3 MB, free: 1.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/0.1884, allocations: 53.09 kB / 499.4 MB, free: 1.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1895, allocations: 495.1 kB / 499.9 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.19, allocations: 0.7518 MB / 0.4889 GB, free: 160 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.1901, allocations: 35.36 kB / 0.4889 GB, free: 124 kB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1901, allocations: 0 / 0.4889 GB, free: 124 kB / 378.7 MB Notification: Performance of Templates: time 0.2658/0.4559, allocations: 3.069 MB / 0.4919 GB, free: 42.18 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches