Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001645/0.001645, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.798/1.798, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2645/0.2645, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 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.002055/0.002055, allocations: 69.52 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1581, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.0033/0.1614, allocations: 1.697 MB / 442.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1628, allocations: 0.7961 MB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1629, allocations: 7.938 kB / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.1633, allocations: 51.81 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.1637, allocations: 59.69 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.164, allocations: 83.77 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1642, allocations: 95.7 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1644, allocations: 12.5 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.325e-05/0.1645, allocations: 39.8 kB / 443.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1646, allocations: 31.84 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1646, allocations: 4 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1647, allocations: 39.98 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.1648, allocations: 31.84 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.699e-05/0.1649, allocations: 43.67 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1651, allocations: 131.6 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1651, allocations: 0 / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1651, allocations: 0 / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1651, allocations: 0 / 443.6 MB, free: 3.777 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.0005249/0.1656, allocations: 442.6 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1657, allocations: 11.89 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.1657, allocations: 16.83 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1659, allocations: 215.5 kB / 444.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.166, allocations: 8.359 kB / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.166, allocations: 19.97 kB / 444.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1662, allocations: 49.67 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1662, allocations: 4 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1662, allocations: 4 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1662, allocations: 0 / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.1663, allocations: 19.98 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.1667, allocations: 284.9 kB / 444.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1669, allocations: 66.61 kB / 444.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.1669, allocations: 24.84 kB / 444.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.167, allocations: 0 / 444.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1671, allocations: 71.33 kB / 444.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1671, allocations: 0 / 444.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000556/0.1677, allocations: 185 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1677, allocations: 55.41 kB / 445.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1679, allocations: 255.7 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.168, allocations: 25.7 kB / 445.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.168, allocations: 120 kB / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.168, allocations: 19.75 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.1681, allocations: 29.7 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.1682, allocations: 330.8 kB / 445.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.332e-05/0.1682, allocations: 23.94 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.1683, allocations: 37.64 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1684, allocations: 53.7 kB / 446 MB, free: 1.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1684, allocations: 0 / 446 MB, free: 1.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001816/0.1686, allocations: 113.4 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1686, allocations: 12.03 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1686, allocations: 0 / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1687, allocations: 0 / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1688, allocations: 12 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.984e-06/0.1688, allocations: 4 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.1688, allocations: 7.922 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1688, allocations: 8 kB / 446.1 MB, free: 1.055 MB / 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 9.789e-05/0.169, allocations: 137.7 kB / 446.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.169, allocations: 11.81 kB / 446.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.169, allocations: 25.41 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.169, allocations: 3.984 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1691, allocations: 4 kB / 446.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1691, allocations: 3.938 kB / 446.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.1694, allocations: 399.2 kB / 446.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1694, allocations: 0 / 446.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.1695, allocations: 11.98 kB / 446.7 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1695, allocations: 0 / 446.7 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1695, allocations: 11.97 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1695, allocations: 4.375 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1695, allocations: 0 / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.1697, allocations: 200.5 kB / 446.9 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.1697, allocations: 93.11 kB / 447 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.1698, allocations: 15.92 kB / 447 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.1698, allocations: 7.938 kB / 447 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.1699, allocations: 4 kB / 447 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1699, allocations: 7.984 kB / 447 MB, free: 28 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.1701, allocations: 199.3 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1701, allocations: 0 / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1704, allocations: 20 kB / 447.3 MB, free: 15.81 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.001197/0.1716, allocations: 478.4 kB / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.1718, allocations: 55.92 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1718, allocations: 0 / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.1719, allocations: 35.92 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1722, allocations: 23.98 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.1728, allocations: 280.1 kB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1731, allocations: 0.7197 MB / 448.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.188e-05/0.1731, allocations: 17.19 kB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.1732, allocations: 15.44 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1732, allocations: 0 / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Templates: time 0.006177/0.1794, allocations: 1.723 MB / 450.6 MB, free: 12.52 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches