Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 107 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.596/1.596, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2415/0.2415, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 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.002741/0.002741, allocations: 68.83 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.167, allocations: 57.8 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004911/0.172, allocations: 1.693 MB / 443.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1737, allocations: 0.7961 MB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.1739, allocations: 8 kB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.1744, allocations: 35.83 kB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.1748, allocations: 55.69 kB / 444.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.1752, allocations: 87.77 kB / 444.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.1755, allocations: 91.69 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1756, allocations: 12.23 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.657e-05/0.1757, allocations: 47.77 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.1758, allocations: 27.86 kB / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1759, allocations: 4 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.176, allocations: 47.92 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/0.1761, allocations: 19.91 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.1762, allocations: 27.81 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.1765, allocations: 111.6 kB / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.1765, allocations: 0 / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1765, allocations: 0 / 445 MB, free: 3.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1765, allocations: 0 / 445 MB, free: 3.047 MB / 318.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.0007901/0.1773, allocations: 411 kB / 445.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1774, allocations: 11.89 kB / 445.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.1774, allocations: 16.73 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.1778, allocations: 206.1 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1779, allocations: 384 / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.1779, allocations: 12.12 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1781, allocations: 53.66 kB / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1781, allocations: 0 / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1781, allocations: 4 kB / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.1782, allocations: 8 kB / 445.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.799e-05/0.1783, allocations: 15.98 kB / 445.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1786, allocations: 288.8 kB / 446 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1788, allocations: 50.69 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.1788, allocations: 24.84 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1789, allocations: 4 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.179, allocations: 67.33 kB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.424e-06/0.179, allocations: 7.922 kB / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005324/0.1796, allocations: 169.3 kB / 446.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.1796, allocations: 55.34 kB / 446.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.1798, allocations: 174.1 kB / 446.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.1798, allocations: 29.7 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.1798, allocations: 100.1 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.1799, allocations: 23.66 kB / 446.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.1799, allocations: 25.7 kB / 446.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.18, allocations: 326.8 kB / 447.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.18, allocations: 16 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-05/0.1801, allocations: 37.7 kB / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.33e-05/0.1802, allocations: 70 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1802, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.1803, allocations: 101.6 kB / 447.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1804, allocations: 7.938 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1804, allocations: 4 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1804, allocations: 0 / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.1805, allocations: 19.94 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1805, allocations: 0 / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.1806, allocations: 15.95 kB / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1806, allocations: 4 kB / 447.3 MB, free: 0.5 MB / 318.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.1807, allocations: 121.8 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.1807, allocations: 11.81 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.1807, allocations: 16.7 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1807, allocations: 4 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1808, allocations: 0 / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1808, allocations: 3.938 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.1812, allocations: 391.3 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1812, allocations: 0 / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.1812, allocations: 8 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1812, allocations: 4 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1812, allocations: 7.922 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1813, allocations: 0 / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1813, allocations: 3.938 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1815, allocations: 200.3 kB / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.1815, allocations: 85.02 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1816, allocations: 8.125 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.1817, allocations: 4 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1817, allocations: 11.92 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1817, allocations: 4 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1819, allocations: 131.2 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1819, allocations: 4 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1821, allocations: 23.98 kB / 448.4 MB, free: 15.36 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/0.1833, allocations: 463.5 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1835, allocations: 63.97 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1835, allocations: 0 / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.1836, allocations: 23.94 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.184, allocations: 40.22 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.1844, allocations: 214.9 kB / 449.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.1847, allocations: 0.7003 MB / 449.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.926e-05/0.1848, allocations: 20.86 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1848, allocations: 15.44 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1848, allocations: 0 / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Templates: time 0.005083/0.1899, allocations: 1.679 MB / 451.6 MB, free: 12.2 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches