Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 106.2 kB / 17.03 MB, free: 5.66 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.001419/0.001418, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.86/1.86, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.3157/0.3157, allocations: 43.53 MB / 314.7 MB, free: 484 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.001745/0.001745, allocations: 72.23 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1634, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003919/0.1674, allocations: 1.696 MB / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1686, allocations: 0.7922 MB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.1687, allocations: 11.94 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.169, allocations: 43.81 kB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.1693, allocations: 59.75 kB / 444.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.1695, allocations: 83.72 kB / 444.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.1697, allocations: 99.67 kB / 444.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1699, allocations: 12.23 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.705e-05/0.1699, allocations: 39.78 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.013e-05/0.17, allocations: 31.84 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1701, allocations: 4 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.303e-05/0.1702, allocations: 39.98 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.1702, allocations: 19.92 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.1703, allocations: 47.67 kB / 444.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1705, allocations: 123.6 kB / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.1705, allocations: 7.984 kB / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1705, allocations: 0 / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1705, allocations: 0 / 445.1 MB, free: 3.012 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.0005914/0.1711, allocations: 422.8 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1712, allocations: 11.89 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.1712, allocations: 12.84 kB / 445.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1715, allocations: 219.9 kB / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1715, allocations: 384 / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.1716, allocations: 16.05 kB / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1717, allocations: 57.67 kB / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1718, allocations: 0 / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1718, allocations: 0 / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1718, allocations: 0 / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.1719, allocations: 19.98 kB / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.1722, allocations: 292.9 kB / 446.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1724, allocations: 62.61 kB / 446.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.1724, allocations: 16.86 kB / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1725, allocations: 3.984 kB / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.1726, allocations: 67.39 kB / 446.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1726, allocations: 0 / 446.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006132/0.1732, allocations: 181.1 kB / 446.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1733, allocations: 55.39 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.1735, allocations: 226.7 kB / 446.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1736, allocations: 25.7 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.1736, allocations: 108.1 kB / 446.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1737, allocations: 23.64 kB / 446.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.1737, allocations: 25.72 kB / 446.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.1738, allocations: 326.8 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.1739, allocations: 31.92 kB / 447.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.1739, allocations: 33.7 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.174, allocations: 65.69 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.174, allocations: 0 / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001531/0.1742, allocations: 97.44 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1742, allocations: 9.25 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1742, allocations: 4.031 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1743, allocations: 0 / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.1744, allocations: 15.98 kB / 447.4 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1744, allocations: 4.375 kB / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.1744, allocations: 3.938 kB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1745, allocations: 8 kB / 447.5 MB, free: 384 kB / 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 0.000111/0.1746, allocations: 133.7 kB / 447.6 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.1746, allocations: 15.84 kB / 447.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.339e-05/0.1747, allocations: 25.39 kB / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1747, allocations: 4 kB / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1747, allocations: 0 / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1747, allocations: 3.938 kB / 447.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/0.1752, allocations: 399.2 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1752, allocations: 0 / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.1753, allocations: 11.98 kB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1753, allocations: 0 / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1753, allocations: 3.938 kB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1753, allocations: 8.031 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1753, allocations: 0 / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.1756, allocations: 200.2 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.1757, allocations: 88.92 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.1757, allocations: 3.938 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1758, allocations: 8.172 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.1758, allocations: 12 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1759, allocations: 3.938 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.176, allocations: 171.2 kB / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.176, allocations: 0 / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1763, allocations: 20 kB / 448.6 MB, free: 15.18 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.001209/0.1775, allocations: 483.6 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1777, allocations: 59.92 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1777, allocations: 0 / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1779, allocations: 27.92 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.1782, allocations: 23.98 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.1789, allocations: 255.2 kB / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.1793, allocations: 0.708 MB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.65e-05/0.1793, allocations: 20.88 kB / 450.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.1794, allocations: 19.44 kB / 450.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1794, allocations: 0 / 450.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of Templates: time 0.005546/0.1849, allocations: 1.706 MB / 451.8 MB, free: 11.94 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches