Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.00142/0.00142, allocations: 123.4 kB / 17.79 MB, free: 5.262 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.001582/0.001582, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.626/1.626, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2525/0.2525, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 0.4914 GB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1559, allocations: 66 MB / 0.5559 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003803/0.1597, allocations: 1.597 MB / 0.5574 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1609, allocations: 0.5299 MB / 0.558 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.983e-05/0.1609, allocations: 3.938 kB / 0.558 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.1612, allocations: 31.84 kB / 0.558 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1615, allocations: 79.69 kB / 0.5581 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.1618, allocations: 87.69 kB / 0.5581 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.162, allocations: 67.78 kB / 0.5582 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1621, allocations: 7.984 kB / 0.5582 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.1621, allocations: 19.92 kB / 0.5582 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.1622, allocations: 23.86 kB / 0.5583 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1622, allocations: 4 kB / 0.5583 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.1623, allocations: 39.92 kB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.1624, allocations: 19.91 kB / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.1624, allocations: 19.81 kB / 0.5583 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1626, allocations: 75.67 kB / 0.5584 GB, free: 2.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1626, allocations: 0 / 0.5584 GB, free: 2.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1626, allocations: 0 / 0.5584 GB, free: 2.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1626, allocations: 0 / 0.5584 GB, free: 2.73 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.0006029/0.1632, allocations: 386.9 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1633, allocations: 12.03 kB / 0.5588 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.1633, allocations: 4.891 kB / 0.5588 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1636, allocations: 210 kB / 0.559 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1636, allocations: 4.375 kB / 0.559 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.1637, allocations: 384 / 0.559 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1638, allocations: 53.81 kB / 0.5591 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1638, allocations: 0 / 0.5591 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.1639, allocations: 3.984 kB / 0.5591 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1639, allocations: 0 / 0.5591 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.164, allocations: 23.98 kB / 0.5591 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.1644, allocations: 280.8 kB / 0.5593 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.1647, allocations: 38.56 kB / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.38e-05/0.1648, allocations: 20.94 kB / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1648, allocations: 0 / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1648, allocations: 30.56 kB / 0.5594 GB, free: 1.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1648, allocations: 4 kB / 0.5594 GB, free: 1.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006426/0.1655, allocations: 137.4 kB / 0.5596 GB, free: 1.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.1655, allocations: 55.41 kB / 0.5596 GB, free: 1.312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1657, allocations: 150.1 kB / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1657, allocations: 25.7 kB / 0.5598 GB, free: 1.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.1658, allocations: 100.1 kB / 0.5599 GB, free: 1.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1659, allocations: 19.84 kB / 0.5599 GB, free: 1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1659, allocations: 21.72 kB / 0.5599 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.1661, allocations: 322.8 kB / 0.5602 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.1662, allocations: 19.92 kB / 0.5603 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.517e-05/0.1663, allocations: 15.98 kB / 0.5603 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1664, allocations: 48.83 kB / 0.5603 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1664, allocations: 4 kB / 0.5603 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001991/0.1666, allocations: 77.62 kB / 0.5604 GB, free: 488 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1666, allocations: 4 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1666, allocations: 0 / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1667, allocations: 4.281 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.1667, allocations: 11.98 kB / 0.5604 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1667, allocations: 3.938 kB / 0.5604 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.1668, allocations: 4 kB / 0.5604 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1668, allocations: 8 kB / 0.5604 GB, free: 452 kB / 414.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.0001329/0.1669, allocations: 128 kB / 0.5605 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1669, allocations: 12.12 kB / 0.5606 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.1672, allocations: 89.97 kB / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1672, allocations: 0 / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1672, allocations: 4 kB / 0.5607 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1672, allocations: 3.938 kB / 0.5607 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.1678, allocations: 358.4 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1678, allocations: 0 / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.1678, allocations: 8 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1678, allocations: 0 / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1679, allocations: 7.984 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1679, allocations: 3.938 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1679, allocations: 0 / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.1681, allocations: 179.4 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.1682, allocations: 81.06 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.1682, allocations: 4 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.1683, allocations: 7.922 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1683, allocations: 8 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1683, allocations: 0 / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1684, allocations: 117.3 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1684, allocations: 4 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1687, allocations: 19.94 kB / 0.5614 GB, free: 15.32 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.001539/0.1702, allocations: 406.5 kB / 0.5618 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.1704, allocations: 43.95 kB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1705, allocations: 7.938 kB / 0.5619 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.1705, allocations: 19.98 kB / 0.5619 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1709, allocations: 19.94 kB / 0.5619 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.1714, allocations: 178.1 kB / 0.5621 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.1718, allocations: 0.6963 MB / 0.5627 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.517e-05/0.1718, allocations: 11.77 kB / 0.5628 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.1719, allocations: 23.44 kB / 0.5628 GB, free: 14.03 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1719, allocations: 0 / 0.5628 GB, free: 14.03 MB / 430.1 MB Notification: Performance of Templates: time 0.00445/0.1763, allocations: 1.115 MB / 0.5639 GB, free: 12.92 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.419450502842665]