Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 105.8 kB / 16.27 MB, free: 5.93 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.001332/0.001332, allocations: 191.2 kB / 17.2 MB, free: 5.574 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.789/1.789, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2533/0.2533, allocations: 43.51 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.0017/0.001701, allocations: 69.69 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1607, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.003737/0.1645, allocations: 1.559 MB / 442.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1659, allocations: 0.9339 MB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/0.166, allocations: 3.938 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.1663, allocations: 27.86 kB / 443 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.1666, allocations: 39.84 kB / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.1669, allocations: 94.73 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.1671, allocations: 51.91 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1672, allocations: 15.94 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.11e-05/0.1673, allocations: 19.92 kB / 443.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.1675, allocations: 31.78 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1675, allocations: 4 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.1677, allocations: 47.98 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.1677, allocations: 19.91 kB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1678, allocations: 19.88 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.168, allocations: 87.78 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.168, allocations: 0 / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.168, allocations: 0 / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1681, allocations: 0 / 443.5 MB, free: 3.945 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005078/0.1686, allocations: 383.2 kB / 443.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1686, allocations: 11.89 kB / 443.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.1687, allocations: 4.938 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.1689, allocations: 192.1 kB / 444 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1689, allocations: 4.375 kB / 444 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.1689, allocations: 4.375 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1691, allocations: 67.47 kB / 444.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1691, allocations: 4 kB / 444.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1691, allocations: 0 / 444.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1692, allocations: 0 / 444.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.403e-05/0.1693, allocations: 27.97 kB / 444.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.1696, allocations: 280.8 kB / 444.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1699, allocations: 46.56 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.1699, allocations: 16.94 kB / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1699, allocations: 3.938 kB / 444.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.17, allocations: 38.56 kB / 444.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 2.455e-06/0.17, allocations: 0 / 444.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005887/0.1706, allocations: 145.3 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.1706, allocations: 77.11 kB / 444.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1707, allocations: 137.8 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1708, allocations: 25.7 kB / 444.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.1708, allocations: 96.05 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.1708, allocations: 15.8 kB / 445 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1709, allocations: 17.72 kB / 445 MB, free: 2.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.1709, allocations: 326.8 kB / 445.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.171, allocations: 19.98 kB / 445.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.1711, allocations: 29.7 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1712, allocations: 56.86 kB / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1712, allocations: 0 / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001741/0.1714, allocations: 85.56 kB / 445.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1714, allocations: 4 kB / 445.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1714, allocations: 3.938 kB / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1715, allocations: 4 kB / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.1715, allocations: 11.98 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1715, allocations: 0 / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.031e-05/0.1716, allocations: 8 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1716, allocations: 288 / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.419e-05/0.1717, allocations: 125.7 kB / 445.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.1717, allocations: 4 kB / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.172, allocations: 105.8 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.172, allocations: 0 / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.172, allocations: 7.875 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.172, allocations: 4 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.1724, allocations: 354.5 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1724, allocations: 0 / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.905e-05/0.1724, allocations: 11.98 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1724, allocations: 4 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1724, allocations: 4 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1725, allocations: 3.938 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1725, allocations: 4 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.1727, allocations: 187.4 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.1727, allocations: 77.11 kB / 446.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.1727, allocations: 0 / 446.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.53e-05/0.1728, allocations: 11.92 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.1728, allocations: 8 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.1729, allocations: 4 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.953e-05/0.1729, allocations: 114.6 kB / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1729, allocations: 0 / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1732, allocations: 24 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001057/0.1742, allocations: 435.6 kB / 447 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1745, allocations: 59.89 kB / 447.1 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1745, allocations: 0 / 447.1 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.1746, allocations: 27.98 kB / 447.1 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.175, allocations: 19.98 kB / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.1755, allocations: 161.5 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1758, allocations: 0.6943 MB / 448 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.054e-05/0.1759, allocations: 20.22 kB / 448 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.176, allocations: 15.44 kB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.176, allocations: 0 / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Templates: time 0.004626/0.1806, allocations: 1.369 MB / 449.4 MB, free: 13.71 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches