Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 105 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4759/0.4759, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.91 kB / 429.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1631, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.00357/0.1668, allocations: 1.771 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1682, allocations: 0.7846 MB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.1683, allocations: 4 kB / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.1687, allocations: 35.83 kB / 489.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1689, allocations: 51.77 kB / 489.7 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.1692, allocations: 79.78 kB / 489.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.1694, allocations: 91.7 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1695, allocations: 20.2 kB / 489.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.439e-05/0.1696, allocations: 39.8 kB / 489.9 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.052e-05/0.1697, allocations: 27.84 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1697, allocations: 4 kB / 489.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.1698, allocations: 39.92 kB / 490 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.1699, allocations: 23.91 kB / 490 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.17, allocations: 35.73 kB / 490 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1702, allocations: 111.9 kB / 490.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1702, allocations: 0 / 490.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1702, allocations: 0 / 490.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.1702, allocations: 4 kB / 490.1 MB, free: 9.41 MB / 378.7 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.0006952/0.1709, allocations: 414.9 kB / 490.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.171, allocations: 8.031 kB / 490.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.171, allocations: 12.83 kB / 490.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.1713, allocations: 212.7 kB / 490.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.1714, allocations: 4.375 kB / 490.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.1714, allocations: 4.125 kB / 490.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1716, allocations: 57.66 kB / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1716, allocations: 7.984 kB / 490.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1717, allocations: 0 / 490.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1717, allocations: 4 kB / 490.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-05/0.1718, allocations: 15.98 kB / 490.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.1722, allocations: 292.8 kB / 491.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1724, allocations: 54.69 kB / 491.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.1725, allocations: 24.84 kB / 491.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1726, allocations: 0 / 491.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.1728, allocations: 71.39 kB / 491.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1728, allocations: 3.938 kB / 491.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005596/0.1734, allocations: 169.2 kB / 491.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.1735, allocations: 55.41 kB / 491.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1737, allocations: 201.4 kB / 491.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1737, allocations: 29.7 kB / 491.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.1738, allocations: 104.1 kB / 491.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.1738, allocations: 19.72 kB / 491.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1739, allocations: 25.7 kB / 491.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.174, allocations: 326.8 kB / 492.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.1741, allocations: 19.98 kB / 492.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.1741, allocations: 41.66 kB / 492.3 MB, free: 7.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1743, allocations: 65.62 kB / 492.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1743, allocations: 3.938 kB / 492.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001718/0.1744, allocations: 101.5 kB / 492.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1745, allocations: 4 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1745, allocations: 0 / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1745, allocations: 0 / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.1746, allocations: 23.97 kB / 492.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1746, allocations: 0 / 492.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.1747, allocations: 11.92 kB / 492.5 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1747, allocations: 4 kB / 492.5 MB, free: 6.832 MB / 378.7 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.0001066/0.1748, allocations: 125.8 kB / 492.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.1748, allocations: 11.89 kB / 492.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.1749, allocations: 17.56 kB / 492.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1749, allocations: 4 kB / 492.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1749, allocations: 0 / 492.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1749, allocations: 7.938 kB / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.1753, allocations: 395.2 kB / 493 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1753, allocations: 0 / 493 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.1754, allocations: 15.98 kB / 493 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1754, allocations: 0 / 493 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1754, allocations: 3.938 kB / 493 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.1754, allocations: 4 kB / 493 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1754, allocations: 0 / 493 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.176, allocations: 0.7871 MB / 493.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.1761, allocations: 85.3 kB / 493.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1761, allocations: 7.984 kB / 493.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.1762, allocations: 4 kB / 493.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.1762, allocations: 8 kB / 493.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1763, allocations: 11.98 kB / 493.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1764, allocations: 148.2 kB / 494.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1764, allocations: 0 / 494.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003447/0.1767, allocations: 27.98 kB / 494.1 MB, free: 5.035 MB / 378.7 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.001021/0.1778, allocations: 473 kB / 494.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.178, allocations: 59.84 kB / 494.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.178, allocations: 0 / 494.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.477e-05/0.178, allocations: 31.98 kB / 494.7 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1784, allocations: 28.58 kB / 494.7 MB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.179, allocations: 387.9 kB / 495.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1793, allocations: 0.7083 MB / 495.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.434e-05/0.1794, allocations: 21.17 kB / 495.8 MB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.1794, allocations: 11.44 kB / 495.8 MB, free: 3.32 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1794, allocations: 4 kB / 495.8 MB, free: 3.316 MB / 378.7 MB Notification: Performance of Templates: time 0.004515/0.184, allocations: 1.67 MB / 497.5 MB, free: 1.652 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches