Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.007993/0.007993, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9053/0.9053, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 34.24 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.026e-05, allocations: 2.281 kB / 443.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.1651/0.1651, allocations: 1.582 MB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1662, allocations: 1.255 MB / 446.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.1662, allocations: 1.938 kB / 446.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.1664, allocations: 24.31 kB / 446.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.1666, allocations: 86.94 kB / 446.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.1668, allocations: 114.1 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1669, allocations: 69.33 kB / 446.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.167, allocations: 13.12 kB / 446.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.167, allocations: 33.72 kB / 446.6 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.1671, allocations: 26.17 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1671, allocations: 3.75 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.1672, allocations: 97.27 kB / 446.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.1672, allocations: 14.97 kB / 446.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.1673, allocations: 13.92 kB / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1674, allocations: 141.6 kB / 446.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1674, allocations: 4 kB / 446.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1674, allocations: 0 / 446.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1674, allocations: 0 / 446.9 MB, free: 42.81 MB / 410.7 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.0003035/0.1677, allocations: 325.4 kB / 447.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.1678, allocations: 11.28 kB / 447.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.1678, allocations: 10.95 kB / 447.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1679, allocations: 142.4 kB / 447.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-06/0.1679, allocations: 4.219 kB / 447.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.1679, allocations: 7.062 kB / 447.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.168, allocations: 86.3 kB / 447.5 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.168, allocations: 7.797 kB / 447.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1681, allocations: 4.375 kB / 447.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.1681, allocations: 2.938 kB / 447.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.1681, allocations: 27.62 kB / 447.5 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.1683, allocations: 221.2 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.1684, allocations: 45.78 kB / 447.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.1685, allocations: 14.25 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.1685, allocations: 4.266 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.08e-05/0.1685, allocations: 37.16 kB / 447.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1685, allocations: 0.5 kB / 447.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003231/0.1688, allocations: 154.1 kB / 448 MB, free: 41.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.1688, allocations: 87.77 kB / 448.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.1689, allocations: 143.4 kB / 448.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.26e-06/0.1689, allocations: 25.7 kB / 448.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.1689, allocations: 93.98 kB / 448.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.169, allocations: 19.17 kB / 448.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.169, allocations: 19.72 kB / 448.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.475e-05/0.169, allocations: 321 kB / 448.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.169, allocations: 18.67 kB / 448.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.1691, allocations: 64.58 kB / 448.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.261e-05/0.1691, allocations: 62.3 kB / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1691, allocations: 0 / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.237e-05/0.1692, allocations: 87.06 kB / 448.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.659e-06/0.1692, allocations: 7.25 kB / 448.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1692, allocations: 0 / 448.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1692, allocations: 2.875 kB / 448.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.649e-05/0.1693, allocations: 12.03 kB / 448.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1693, allocations: 3.938 kB / 448.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.1693, allocations: 10.09 kB / 448.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.1693, allocations: 3 kB / 448.9 MB, free: 41.06 MB / 410.7 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 3.537e-05/0.1693, allocations: 116.7 kB / 449.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.1694, allocations: 13.7 kB / 449.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.1695, allocations: 104.2 kB / 449.2 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1695, allocations: 2.906 kB / 449.2 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1695, allocations: 0 / 449.2 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1695, allocations: 0 / 449.2 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.1697, allocations: 307.2 kB / 449.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1697, allocations: 2.75 kB / 449.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.1697, allocations: 12.41 kB / 449.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1697, allocations: 3.938 kB / 449.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.1697, allocations: 0 / 449.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1697, allocations: 2.844 kB / 449.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1697, allocations: 0 / 449.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.895e-05/0.1698, allocations: 186.9 kB / 449.7 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-06/0.1698, allocations: 14.89 kB / 449.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.1698, allocations: 2.875 kB / 449.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.1698, allocations: 6.281 kB / 449.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.1699, allocations: 3.188 kB / 449.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.1699, allocations: 3.094 kB / 449.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.809e-05/0.1699, allocations: 114 kB / 449.8 MB, free: 40.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1699, allocations: 0 / 449.8 MB, free: 40.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.1701, allocations: 37.58 kB / 449.9 MB, free: 40.35 MB / 410.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: 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.0006795/0.1708, allocations: 0.519 MB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.1709, allocations: 50.05 kB / 450.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1709, allocations: 0 / 450.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.248e-05/0.1709, allocations: 31.72 kB / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1711, allocations: 26.55 kB / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.1714, allocations: 197.6 kB / 450.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.1714, allocations: 78.98 kB / 450.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.1714, allocations: 20.12 kB / 450.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1714, allocations: 0 / 450.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of Templates: time 0.002093/0.1735, allocations: 2.005 MB / 452.8 MB, free: 39.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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: 4.780331466346979]