Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001385/0.001385, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.544/1.544, allocations: 222.9 MB / 243 MB, free: 15.16 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.2492/0.2492, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 64.16 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1586, allocations: 60.84 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004687/0.1634, allocations: 1.691 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1653, allocations: 0.8807 MB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.1654, allocations: 4 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.1659, allocations: 51.75 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.1663, allocations: 59.75 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.1668, allocations: 103.6 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.167, allocations: 103.7 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1672, allocations: 8.219 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1673, allocations: 47.78 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1675, allocations: 31.84 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1675, allocations: 4 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1676, allocations: 43.92 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.1677, allocations: 23.92 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.223e-05/0.1678, allocations: 47.66 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.1681, allocations: 127.6 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.1682, allocations: 4 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.1682, allocations: 0 / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1682, allocations: 0 / 473.9 MB, free: 10.4 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.0007934/0.169, allocations: 442.7 kB / 474.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.1691, allocations: 12.03 kB / 474.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.621e-05/0.1691, allocations: 12.75 kB / 474.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.1696, allocations: 220.5 kB / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1696, allocations: 4.375 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1696, allocations: 8.125 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1698, allocations: 53.67 kB / 474.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1698, allocations: 0 / 474.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1698, allocations: 4 kB / 474.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1699, allocations: 0 / 474.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.219e-05/0.1699, allocations: 19.98 kB / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.1704, allocations: 292.8 kB / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1706, allocations: 58.67 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.1706, allocations: 24.84 kB / 475.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1707, allocations: 11.94 kB / 475.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.1708, allocations: 63.33 kB / 475.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1708, allocations: 0 / 475.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005837/0.1714, allocations: 185 kB / 475.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.1715, allocations: 55.34 kB / 475.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.1718, allocations: 266.3 kB / 475.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1718, allocations: 29.7 kB / 475.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.1719, allocations: 112.1 kB / 475.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.1719, allocations: 19.7 kB / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.172, allocations: 29.7 kB / 475.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1721, allocations: 326.8 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.1722, allocations: 23.98 kB / 476.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.1723, allocations: 37.64 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1724, allocations: 65.66 kB / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1724, allocations: 0 / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000188/0.1726, allocations: 101.5 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1726, allocations: 4 kB / 476.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1726, allocations: 0 / 476.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1727, allocations: 0 / 476.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.1728, allocations: 19.94 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.1728, allocations: 8.016 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/0.1728, allocations: 7.938 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1728, allocations: 4 kB / 476.4 MB, free: 7.688 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.0001267/0.173, allocations: 137.8 kB / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.173, allocations: 15.81 kB / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.1731, allocations: 21.39 kB / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1731, allocations: 0 / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1731, allocations: 0 / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1731, allocations: 3.938 kB / 476.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.1736, allocations: 403.3 kB / 477 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1736, allocations: 3.984 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.1736, allocations: 8 kB / 477 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1736, allocations: 3.984 kB / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1737, allocations: 8.312 kB / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1737, allocations: 3.938 kB / 477 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1737, allocations: 4 kB / 477 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1739, allocations: 208.7 kB / 477.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.174, allocations: 92.91 kB / 477.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.174, allocations: 7.875 kB / 477.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.1741, allocations: 0 / 477.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.1742, allocations: 11.98 kB / 477.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1742, allocations: 4 kB / 477.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.1744, allocations: 196.2 kB / 477.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1744, allocations: 4 kB / 477.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1746, allocations: 20 kB / 477.5 MB, free: 6.449 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.001152/0.1758, allocations: 475.3 kB / 478 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.176, allocations: 63.97 kB / 478.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.176, allocations: 0 / 478.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.1761, allocations: 31.92 kB / 478.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1765, allocations: 23.98 kB / 478.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.177, allocations: 279.7 kB / 478.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1774, allocations: 0.7198 MB / 479.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.253e-05/0.1774, allocations: 13.19 kB / 479.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.1775, allocations: 19.42 kB / 479.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1775, allocations: 0 / 479.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of Templates: time 0.004497/0.182, allocations: 1.733 MB / 480.9 MB, free: 3.246 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches