Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009788/0.0009787, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001227, allocations: 176 kB / 16.58 MB, free: 6.844 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.996/1.996, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.48/0.48, allocations: 43.58 MB / 314.6 MB, free: 8.723 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.0005619/0.0005619, allocations: 24 kB / 384 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1631, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002386/0.1656, allocations: 1.387 MB / 444.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.167, allocations: 0.7383 MB / 445 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1672, allocations: 4 kB / 445 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.1676, allocations: 35.84 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.1679, allocations: 43.83 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.1683, allocations: 63.86 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.1685, allocations: 87.73 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.1687, allocations: 8.219 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1688, allocations: 35.8 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1689, allocations: 31.86 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.169, allocations: 0 / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.1691, allocations: 43.91 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.1692, allocations: 11.98 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.1692, allocations: 37.64 kB / 445.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.1695, allocations: 84.03 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.1695, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.1695, allocations: 4 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.1695, allocations: 0 / 445.4 MB, free: 10.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000878/0.1704, allocations: 398.9 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.1705, allocations: 12.03 kB / 445.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.1706, allocations: 7.906 kB / 445.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1709, allocations: 195.4 kB / 446 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.1709, allocations: 4 kB / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.171, allocations: 4 kB / 446 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1712, allocations: 53.67 kB / 446.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1712, allocations: 3.984 kB / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1712, allocations: 0 / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1712, allocations: 7.953 kB / 446.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.1713, allocations: 23.92 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.1718, allocations: 284.8 kB / 446.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.1719, allocations: 54.67 kB / 446.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.172, allocations: 20.86 kB / 446.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.1721, allocations: 8 kB / 446.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.1723, allocations: 71.22 kB / 446.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1723, allocations: 4 kB / 446.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006265/0.1729, allocations: 169.3 kB / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.173, allocations: 51.41 kB / 446.8 MB, free: 8.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1732, allocations: 159 kB / 446.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1732, allocations: 33.7 kB / 447 MB, free: 8.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.1733, allocations: 96.12 kB / 447.1 MB, free: 8.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.1734, allocations: 23.66 kB / 447.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.1734, allocations: 4 kB / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1735, allocations: 322.8 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.1736, allocations: 19.98 kB / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.1737, allocations: 33.7 kB / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.755e-05/0.1737, allocations: 28 kB / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1738, allocations: 0 / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001698/0.1739, allocations: 105.4 kB / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.174, allocations: 8 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.174, allocations: 0 / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.174, allocations: 0 / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.1741, allocations: 12 kB / 447.6 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1741, allocations: 7.922 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1742, allocations: 8 kB / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1742, allocations: 8.031 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001217/0.1743, allocations: 121.8 kB / 447.8 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.1743, allocations: 11.86 kB / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.1744, allocations: 16.89 kB / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1744, allocations: 0 / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1744, allocations: 3.938 kB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1744, allocations: 0 / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.1749, allocations: 395.3 kB / 448.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1749, allocations: 0 / 448.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.1749, allocations: 8 kB / 448.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1749, allocations: 0 / 448.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1749, allocations: 7.984 kB / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1749, allocations: 0 / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1749, allocations: 0 / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.1752, allocations: 208.2 kB / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.737e-05/0.1753, allocations: 96.81 kB / 448.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1753, allocations: 8.359 kB / 448.5 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.1754, allocations: 4 kB / 448.5 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.1754, allocations: 4 kB / 448.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.1755, allocations: 11.98 kB / 448.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1756, allocations: 124.5 kB / 448.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1756, allocations: 0 / 448.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1758, allocations: 20 kB / 448.7 MB, free: 6.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001279/0.1771, allocations: 464.8 kB / 449.1 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1774, allocations: 55.91 kB / 449.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1774, allocations: 4.062 kB / 449.2 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.1775, allocations: 31.94 kB / 449.2 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1778, allocations: 27.97 kB / 449.2 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/0.1784, allocations: 226 kB / 449.4 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1787, allocations: 0.7004 MB / 450.1 MB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.772e-05/0.1788, allocations: 12.88 kB / 450.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.1788, allocations: 15.44 kB / 450.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1788, allocations: 0 / 450.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of Templates: time 0.005294/0.1841, allocations: 1.58 MB / 451.8 MB, free: 3.711 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches