Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008877, 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.00152/0.00152, allocations: 176.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.4828/0.4828, allocations: 43.58 MB / 314.6 MB, free: 8.738 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.0005853/0.0005854, allocations: 18.97 kB / 384 MB, free: 7.965 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1639, allocations: 58.87 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002313/0.1662, allocations: 1.383 MB / 444.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1676, allocations: 0.7499 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1678, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.1681, allocations: 39.89 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.1684, allocations: 43.78 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1687, allocations: 67.89 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.1689, allocations: 83.7 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.169, allocations: 12.22 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1691, allocations: 39.78 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.1692, allocations: 31.84 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1692, allocations: 4 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1693, allocations: 31.98 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.1694, allocations: 15.92 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.1694, allocations: 41.64 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1696, allocations: 88.03 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1696, allocations: 0 / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1696, allocations: 4 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1696, allocations: 0 / 445.5 MB, free: 10.34 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.0006521/0.1703, allocations: 398.8 kB / 445.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1704, allocations: 8.031 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.1704, allocations: 11.91 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1707, allocations: 206.7 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.1707, allocations: 8 kB / 446.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.1708, allocations: 0 / 446.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1709, allocations: 61.67 kB / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.171, allocations: 0 / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.171, allocations: 0 / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.171, allocations: 15.92 kB / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.921e-05/0.1711, allocations: 12 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.1716, allocations: 288.9 kB / 446.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.1717, allocations: 54.69 kB / 446.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.1718, allocations: 20.84 kB / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1718, allocations: 4 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.1721, allocations: 75.19 kB / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.357e-06/0.1721, allocations: 0 / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005869/0.1727, allocations: 169.3 kB / 446.8 MB, free: 8.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.1727, allocations: 59.34 kB / 446.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1729, allocations: 190.1 kB / 447 MB, free: 8.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.173, allocations: 25.7 kB / 447 MB, free: 8.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.173, allocations: 104.1 kB / 447.1 MB, free: 8.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.1731, allocations: 27.62 kB / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.1731, allocations: 4 kB / 447.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1732, allocations: 322.8 kB / 447.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.1733, allocations: 23.98 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.995e-05/0.1734, allocations: 33.72 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.948e-05/0.1734, allocations: 23.98 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1734, allocations: 0 / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.1736, allocations: 101.5 kB / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1737, allocations: 8 kB / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1737, allocations: 0 / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1737, allocations: 0 / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.1738, allocations: 20.02 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.1738, allocations: 4 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.1739, allocations: 0 / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1739, allocations: 4 kB / 447.7 MB, free: 7.875 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.0001243/0.174, allocations: 133.8 kB / 447.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.174, allocations: 15.86 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.1741, allocations: 16.7 kB / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1741, allocations: 0 / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1741, allocations: 0 / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1741, allocations: 4 kB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.1746, allocations: 399.2 kB / 448.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1746, allocations: 0 / 448.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.1747, allocations: 8.375 kB / 448.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1747, allocations: 0 / 448.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1747, allocations: 4 kB / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1747, allocations: 4 kB / 448.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1747, allocations: 3.984 kB / 448.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.175, allocations: 204.3 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.175, allocations: 92.88 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1751, allocations: 0 / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.1751, allocations: 15.92 kB / 448.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1752, allocations: 4 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1752, allocations: 0 / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.1753, allocations: 152 kB / 448.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1753, allocations: 0 / 448.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1756, allocations: 24.19 kB / 448.7 MB, free: 6.715 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.001143/0.1768, allocations: 468.8 kB / 449.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.177, allocations: 63.89 kB / 449.3 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.177, allocations: 0 / 449.3 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.502e-05/0.1771, allocations: 31.92 kB / 449.3 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.1774, allocations: 27.86 kB / 449.3 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.178, allocations: 242.4 kB / 449.6 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.1784, allocations: 0.7043 MB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.091e-05/0.1785, allocations: 16.88 kB / 450.3 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.1786, allocations: 23.42 kB / 450.3 MB, free: 5.129 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1786, allocations: 0 / 450.3 MB, free: 5.129 MB / 382.1 MB Notification: Performance of Templates: time 0.005433/0.184, allocations: 1.572 MB / 451.9 MB, free: 3.559 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches