Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2439/0.2439, allocations: 46.92 MB / 357.1 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003338/0.003338, allocations: 64.14 kB / 0.4914 GB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1563, allocations: 66 MB / 0.5559 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003563/0.1599, allocations: 1.613 MB / 0.5574 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.162, allocations: 1.175 MB / 0.5586 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.1621, allocations: 0 / 0.5586 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.1624, allocations: 27.84 kB / 0.5586 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.1627, allocations: 87.62 kB / 0.5587 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.1631, allocations: 103.7 kB / 0.5588 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.1633, allocations: 71.77 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1634, allocations: 19.92 kB / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.1635, allocations: 19.92 kB / 0.5589 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1636, allocations: 35.84 kB / 0.5589 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1636, allocations: 4 kB / 0.5589 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.1638, allocations: 99.86 kB / 0.559 GB, free: 2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.1639, allocations: 19.92 kB / 0.5591 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.1639, allocations: 23.81 kB / 0.5591 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.1642, allocations: 143.5 kB / 0.5592 GB, free: 1.816 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1642, allocations: 0 / 0.5592 GB, free: 1.816 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1642, allocations: 0 / 0.5592 GB, free: 1.816 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1642, allocations: 0 / 0.5592 GB, free: 1.816 MB / 414.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.0006032/0.1648, allocations: 406.7 kB / 0.5596 GB, free: 1.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1649, allocations: 12.03 kB / 0.5596 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.1649, allocations: 8.891 kB / 0.5596 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1652, allocations: 198.6 kB / 0.5598 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1652, allocations: 384 / 0.5598 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1652, allocations: 4.375 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1654, allocations: 67.52 kB / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1654, allocations: 0 / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1654, allocations: 0 / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1654, allocations: 0 / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1655, allocations: 27.92 kB / 0.5599 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.166, allocations: 292.9 kB / 0.5602 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.1663, allocations: 42.55 kB / 0.5602 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.1663, allocations: 16.86 kB / 0.5602 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1663, allocations: 0 / 0.5602 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.1664, allocations: 50.58 kB / 0.5603 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1664, allocations: 0 / 0.5603 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006285/0.167, allocations: 145.8 kB / 0.5604 GB, free: 408 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.1671, allocations: 85.05 kB / 0.5605 GB, free: 304 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1672, allocations: 143.7 kB / 0.5606 GB, free: 152 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1673, allocations: 25.7 kB / 0.5607 GB, free: 120 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1674, allocations: 96.14 kB / 0.5608 GB, free: 20 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.1674, allocations: 19.78 kB / 0.5608 GB, free: 0 / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.1675, allocations: 17.77 kB / 0.5608 GB, free: 15.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1676, allocations: 326.7 kB / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.1677, allocations: 23.92 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-05/0.1678, allocations: 33.7 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1679, allocations: 56.84 kB / 0.5612 GB, free: 15.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1679, allocations: 3.938 kB / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002265/0.1682, allocations: 93.55 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1682, allocations: 4 kB / 0.5613 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1682, allocations: 0 / 0.5613 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1682, allocations: 0 / 0.5613 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.1683, allocations: 15.98 kB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1683, allocations: 0 / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/0.1684, allocations: 11.98 kB / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1684, allocations: 3.938 kB / 0.5613 GB, free: 15.39 MB / 430.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 0.0001036/0.1685, allocations: 116 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.1685, allocations: 7.953 kB / 0.5615 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.1688, allocations: 101.9 kB / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1688, allocations: 0 / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.1688, allocations: 0 / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1688, allocations: 4 kB / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.1693, allocations: 362.8 kB / 0.5619 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1693, allocations: 0 / 0.5619 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.1694, allocations: 15.98 kB / 0.5619 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1694, allocations: 0 / 0.5619 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1694, allocations: 0 / 0.5619 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.1694, allocations: 7.875 kB / 0.5619 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1694, allocations: 0 / 0.5619 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.1697, allocations: 187.5 kB / 0.5621 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.1698, allocations: 85.06 kB / 0.5622 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1698, allocations: 0 / 0.5622 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.1699, allocations: 11.92 kB / 0.5622 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.1699, allocations: 0 / 0.5622 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1699, allocations: 4 kB / 0.5622 GB, free: 14.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.17, allocations: 121.3 kB / 0.5623 GB, free: 14.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.17, allocations: 0 / 0.5623 GB, free: 14.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.1703, allocations: 35.88 kB / 0.5624 GB, free: 14.25 MB / 430.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.001926/0.1722, allocations: 0.4962 MB / 0.5628 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.1725, allocations: 51.89 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1725, allocations: 4 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.1726, allocations: 23.98 kB / 0.5629 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1729, allocations: 15.98 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.1734, allocations: 169.5 kB / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.1738, allocations: 0.6962 MB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.642e-05/0.1739, allocations: 20.02 kB / 0.5638 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.174, allocations: 23.42 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.174, allocations: 0 / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of Templates: time 0.005272/0.1792, allocations: 1.77 MB / 0.5655 GB, free: 11.12 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.399557549506426]