Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001165/0.001165, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.00133/0.00133, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 241.8 MB, free: 13.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 44.17 MB / 336.1 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 72.44 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.162, allocations: 60.81 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.005524/0.1676, allocations: 1.76 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1694, allocations: 0.8615 MB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1696, allocations: 4 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.17, allocations: 43.81 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.1703, allocations: 55.81 kB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.1707, allocations: 95.77 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.171, allocations: 95.69 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.1712, allocations: 8.234 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1713, allocations: 47.72 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1714, allocations: 31.84 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1715, allocations: 0 / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.1716, allocations: 39.98 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.1717, allocations: 23.92 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.1718, allocations: 43.66 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1721, allocations: 123.8 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1722, allocations: 4 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1722, allocations: 0 / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1722, allocations: 0 / 471.7 MB, free: 11.59 MB / 350.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.0007635/0.173, allocations: 422.9 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.173, allocations: 8.031 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.627e-05/0.1731, allocations: 16.75 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1734, allocations: 212.6 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1734, allocations: 384 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.1735, allocations: 8.125 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1737, allocations: 57.61 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1737, allocations: 0 / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1737, allocations: 0 / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1737, allocations: 0 / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/0.1738, allocations: 23.98 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.1743, allocations: 308.7 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1745, allocations: 54.62 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.1746, allocations: 24.84 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1746, allocations: 0 / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.1749, allocations: 71.39 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.1749, allocations: 0 / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006331/0.1755, allocations: 173.2 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.1756, allocations: 51.41 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.1759, allocations: 222.7 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1759, allocations: 33.7 kB / 473.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.276e-05/0.176, allocations: 108 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.1761, allocations: 23.66 kB / 473.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.1762, allocations: 29.7 kB / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1764, allocations: 330.8 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.1764, allocations: 16 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.1765, allocations: 37.64 kB / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1767, allocations: 57.7 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1767, allocations: 0 / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002735/0.177, allocations: 105.5 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.177, allocations: 11.92 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.177, allocations: 4 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.177, allocations: 192 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1772, allocations: 16 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1772, allocations: 4.094 kB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.1772, allocations: 7.938 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1773, allocations: 7.984 kB / 474.1 MB, free: 8.953 MB / 350.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.0001612/0.1774, allocations: 133.8 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.1775, allocations: 15.8 kB / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.1775, allocations: 25.38 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1775, allocations: 0 / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1776, allocations: 0 / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1776, allocations: 3.938 kB / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.1781, allocations: 395.3 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1781, allocations: 4 kB / 474.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.1782, allocations: 12.03 kB / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1782, allocations: 0 / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1782, allocations: 3.938 kB / 474.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1782, allocations: 0 / 474.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1782, allocations: 4.375 kB / 474.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.1785, allocations: 204.1 kB / 474.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.1786, allocations: 89 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.1786, allocations: 11.94 kB / 475 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.1787, allocations: 8 kB / 475 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.1788, allocations: 3.984 kB / 475 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.1788, allocations: 4 kB / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.179, allocations: 172.3 kB / 475.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.179, allocations: 0 / 475.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.1793, allocations: 23.98 kB / 475.2 MB, free: 7.758 MB / 350.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.001293/0.1806, allocations: 470.9 kB / 475.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.1809, allocations: 59.84 kB / 475.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1809, allocations: 0 / 475.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.181, allocations: 28.12 kB / 475.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1814, allocations: 27.97 kB / 475.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.182, allocations: 296.7 kB / 476.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1823, allocations: 0.716 MB / 476.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.523e-05/0.1824, allocations: 17.19 kB / 476.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.1825, allocations: 19.42 kB / 476.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1825, allocations: 0 / 476.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of Templates: time 0.005797/0.1883, allocations: 1.655 MB / 478.5 MB, free: 4.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches