Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, 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.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.001072/0.001072, allocations: 89.44 kB / 269.9 MB, free: 8.438 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.454/0.454, allocations: 43.49 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 51.92 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1443, allocations: 57.76 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00362/0.148, allocations: 1.727 MB / 488.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1493, allocations: 0.7702 MB / 489.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.1494, allocations: 3.938 kB / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1498, allocations: 55.86 kB / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.15, allocations: 59.75 kB / 489.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1502, allocations: 75.78 kB / 489.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1504, allocations: 99.69 kB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.1505, allocations: 7.984 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.248e-05/0.1506, allocations: 47.77 kB / 489.8 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1507, allocations: 43.77 kB / 489.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1507, allocations: 4 kB / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.942e-05/0.1508, allocations: 28 kB / 489.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.1508, allocations: 19.92 kB / 489.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.1509, allocations: 27.8 kB / 490 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1511, allocations: 91.92 kB / 490.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1511, allocations: 4 kB / 490.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1511, allocations: 0 / 490.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1511, allocations: 0 / 490.1 MB, free: 9.449 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000579/0.1517, allocations: 406.9 kB / 490.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1517, allocations: 20.02 kB / 490.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.1518, allocations: 12.83 kB / 490.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1521, allocations: 204 kB / 490.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1521, allocations: 12.31 kB / 490.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1521, allocations: 4.125 kB / 490.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1523, allocations: 49.67 kB / 490.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1523, allocations: 0 / 490.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1523, allocations: 0 / 490.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1523, allocations: 0 / 490.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.945e-05/0.1524, allocations: 19.98 kB / 490.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.1526, allocations: 181.6 kB / 491 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.1528, allocations: 50.61 kB / 491 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.1529, allocations: 20.8 kB / 491 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.1529, allocations: 4 kB / 491 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.1531, allocations: 67.39 kB / 491.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.1531, allocations: 0 / 491.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000285/0.1534, allocations: 97.5 kB / 491.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.1535, allocations: 51.41 kB / 491.2 MB, free: 8.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1537, allocations: 182.2 kB / 491.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1537, allocations: 25.7 kB / 491.4 MB, free: 7.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1538, allocations: 100.1 kB / 491.5 MB, free: 7.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.1538, allocations: 19.81 kB / 491.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1539, allocations: 21.7 kB / 491.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.154, allocations: 322.8 kB / 491.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.1541, allocations: 12 kB / 491.9 MB, free: 7.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/0.1541, allocations: 25.7 kB / 491.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.949e-05/0.1542, allocations: 49.89 kB / 492 MB, free: 7.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1542, allocations: 11.94 kB / 492 MB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001409/0.1544, allocations: 77.53 kB / 492.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1544, allocations: 7.938 kB / 492.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1544, allocations: 4 kB / 492.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1544, allocations: 0 / 492.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.1545, allocations: 8 kB / 492.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1545, allocations: 3.984 kB / 492.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.1546, allocations: 7.906 kB / 492.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1546, allocations: 4 kB / 492.1 MB, free: 7.168 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 (7): * Single equations (assignments): 7 * 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.000101/0.1547, allocations: 129.8 kB / 492.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.1547, allocations: 11.89 kB / 492.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.1548, allocations: 12.31 kB / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1548, allocations: 3.938 kB / 492.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1548, allocations: 0 / 492.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1548, allocations: 0 / 492.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.155, allocations: 189.5 kB / 492.4 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.155, allocations: 0 / 492.4 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.155, allocations: 7.984 kB / 492.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.155, allocations: 0 / 492.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.155, allocations: 4 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.155, allocations: 3.938 kB / 492.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.155, allocations: 4 kB / 492.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.1555, allocations: 0.6823 MB / 493.1 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.1556, allocations: 88.92 kB / 493.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.1556, allocations: 0 / 493.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.384e-05/0.1557, allocations: 8 kB / 493.2 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1557, allocations: 4.109 kB / 493.2 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.1557, allocations: 11.94 kB / 493.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.1559, allocations: 140.1 kB / 493.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1559, allocations: 0 / 493.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002937/0.1562, allocations: 19.98 kB / 493.4 MB, free: 5.727 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009077/0.1571, allocations: 413.2 kB / 493.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1572, allocations: 47.92 kB / 493.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1573, allocations: 0 / 493.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.507e-05/0.1573, allocations: 19.98 kB / 493.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1576, allocations: 28.58 kB / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.1582, allocations: 322.9 kB / 494.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1586, allocations: 0.7007 MB / 494.9 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.097e-05/0.1586, allocations: 16.42 kB / 494.9 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.1587, allocations: 19.42 kB / 495 MB, free: 4.156 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1587, allocations: 0 / 495 MB, free: 4.156 MB / 378.7 MB Notification: Performance of Templates: time 0.004085/0.1628, allocations: 1.438 MB / 496.4 MB, free: 2.723 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches