Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 177.2 kB / 16.41 MB, free: 5.703 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.673/1.673, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.0008927/0.0008926, allocations: 86.83 kB / 270.9 MB, free: 8.355 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.4598/0.4598, allocations: 43.56 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000451/0.0004511, allocations: 12 kB / 431.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1697, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002666/0.1724, allocations: 1.59 MB / 491.8 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1738, allocations: 0.7693 MB / 492.6 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.174, allocations: 4 kB / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.1743, allocations: 35.83 kB / 492.6 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.1746, allocations: 51.77 kB / 492.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.1748, allocations: 91.81 kB / 492.8 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.1751, allocations: 111.6 kB / 492.9 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1752, allocations: 33.45 kB / 492.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1753, allocations: 51.72 kB / 493 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/0.1754, allocations: 35.78 kB / 493 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1754, allocations: 8 kB / 493 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.742e-05/0.1755, allocations: 31.98 kB / 493.1 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.1756, allocations: 23.86 kB / 493.1 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.1757, allocations: 41.64 kB / 493.1 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1759, allocations: 112 kB / 493.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1759, allocations: 0 / 493.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1759, allocations: 0 / 493.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1759, allocations: 0 / 493.2 MB, free: 7.957 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007935/0.1767, allocations: 468.4 kB / 493.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.1768, allocations: 8.031 kB / 493.7 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.1768, allocations: 15.81 kB / 493.7 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.1772, allocations: 222.8 kB / 493.9 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.1772, allocations: 4 kB / 493.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.1772, allocations: 8 kB / 493.9 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.1775, allocations: 112 kB / 494 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1775, allocations: 3.938 kB / 494 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1776, allocations: 4 kB / 494.1 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1776, allocations: 7.953 kB / 494.1 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1777, allocations: 43.97 kB / 494.1 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.1784, allocations: 0.5126 MB / 494.6 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.1787, allocations: 86.67 kB / 494.7 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1789, allocations: 40.83 kB / 494.7 MB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.1789, allocations: 3.938 kB / 494.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.1792, allocations: 91.25 kB / 494.8 MB, free: 6.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1792, allocations: 0 / 494.8 MB, free: 6.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004372/0.1796, allocations: 153.4 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1797, allocations: 51.41 kB / 495 MB, free: 5.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1799, allocations: 187.5 kB / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1799, allocations: 25.7 kB / 495.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.18, allocations: 116 kB / 495.4 MB, free: 5.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1801, allocations: 35.55 kB / 495.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.1801, allocations: 4 kB / 495.4 MB, free: 5.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1802, allocations: 326.8 kB / 495.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.1803, allocations: 23.98 kB / 495.7 MB, free: 5.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1804, allocations: 72.33 kB / 495.8 MB, free: 5.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1805, allocations: 39.98 kB / 495.8 MB, free: 5.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1805, allocations: 3.953 kB / 495.8 MB, free: 5.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002703/0.1808, allocations: 137.3 kB / 496 MB, free: 4.938 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1809, allocations: 8.125 kB / 496 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1809, allocations: 4 kB / 496 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1809, allocations: 4 kB / 496 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.181, allocations: 32.39 kB / 496 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.181, allocations: 0 / 496 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.1811, allocations: 11.94 kB / 496 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1811, allocations: 4 kB / 496 MB, free: 4.875 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000133/0.1813, allocations: 133.1 kB / 496.2 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1813, allocations: 31.69 kB / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.1814, allocations: 17.41 kB / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1814, allocations: 0 / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1814, allocations: 0 / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1814, allocations: 3.984 kB / 496.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.1816, allocations: 205.5 kB / 496.4 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1816, allocations: 0 / 496.4 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.931e-05/0.1817, allocations: 15.95 kB / 496.4 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1817, allocations: 0 / 496.4 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1817, allocations: 8 kB / 496.5 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1817, allocations: 4 kB / 496.5 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1817, allocations: 3.984 kB / 496.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.1821, allocations: 180.8 kB / 496.6 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.1821, allocations: 96.83 kB / 496.7 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1822, allocations: 16 kB / 496.7 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.629e-05/0.1823, allocations: 8 kB / 496.8 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.1823, allocations: 7.984 kB / 496.8 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1823, allocations: 0 / 496.8 MB, free: 4.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1824, allocations: 141.2 kB / 496.9 MB, free: 3.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1824, allocations: 0 / 496.9 MB, free: 3.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.1827, allocations: 28 kB / 496.9 MB, free: 3.902 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008588/0.1835, allocations: 417.9 kB / 497.3 MB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.1838, allocations: 79.89 kB / 497.4 MB, free: 3.453 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1838, allocations: 0 / 497.4 MB, free: 3.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1839, allocations: 39.92 kB / 497.5 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.1842, allocations: 36.34 kB / 497.5 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.1849, allocations: 331.2 kB / 497.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.1853, allocations: 0.7162 MB / 498.5 MB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.1854, allocations: 15.81 kB / 498.5 MB, free: 2.266 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1854, allocations: 0 / 498.5 MB, free: 2.266 MB / 378.7 MB Notification: Performance of Templates: time 0.004288/0.1897, allocations: 2.133 MB / 0.4889 GB, free: 136 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches