Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.0008273/0.0008273, allocations: 96.27 kB / 21.44 MB, free: 3.098 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.0008384/0.0008384, allocations: 153.1 kB / 24.69 MB, free: 9.43 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.8553/0.8553, allocations: 177 MB / 204.9 MB, free: 5.75 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.2353/0.2353, allocations: 34.24 MB / 295.6 MB, free: 0.6641 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.98e-05, allocations: 10.22 kB / 443.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.1621/0.1621, allocations: 1.577 MB / 445 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006211/0.1627, allocations: 0.5343 MB / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.1628, allocations: 0 / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.163, allocations: 30.88 kB / 445.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1632, allocations: 77.56 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.1633, allocations: 111.2 kB / 445.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1634, allocations: 71.31 kB / 445.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.1635, allocations: 14.45 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.1636, allocations: 32.7 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.1636, allocations: 17.75 kB / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1636, allocations: 2.938 kB / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.4e-05/0.1637, allocations: 27.77 kB / 445.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.1637, allocations: 16.84 kB / 445.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.1638, allocations: 13.47 kB / 446 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1639, allocations: 85 kB / 446 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1639, allocations: 0 / 446 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1639, allocations: 0 / 446 MB, free: 43.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1639, allocations: 0 / 446 MB, free: 43.39 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.0002889/0.1642, allocations: 320.2 kB / 446.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.1642, allocations: 9.344 kB / 446.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.1642, allocations: 10.73 kB / 446.4 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1643, allocations: 141.5 kB / 446.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1643, allocations: 7.188 kB / 446.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.1644, allocations: 384 / 446.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.089e-05/0.1645, allocations: 51.84 kB / 446.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1645, allocations: 3.516 kB / 446.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1645, allocations: 1 kB / 446.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1645, allocations: 6.875 kB / 446.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.943e-05/0.1645, allocations: 22.88 kB / 446.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.1647, allocations: 225.3 kB / 446.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1649, allocations: 42.78 kB / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.1649, allocations: 21.06 kB / 446.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1649, allocations: 0 / 446.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.858e-06/0.1649, allocations: 33.47 kB / 446.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 5.81e-07/0.1649, allocations: 6.25 kB / 446.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003257/0.1652, allocations: 155.6 kB / 447.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.1653, allocations: 57.5 kB / 447.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.1653, allocations: 160 kB / 447.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-06/0.1654, allocations: 29.7 kB / 447.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.1654, allocations: 98.19 kB / 447.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.1654, allocations: 12.28 kB / 447.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.1654, allocations: 22.3 kB / 447.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.496e-05/0.1654, allocations: 317.3 kB / 447.8 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.1655, allocations: 23.53 kB / 447.8 MB, free: 41.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.1655, allocations: 26.84 kB / 447.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.1656, allocations: 54.47 kB / 447.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1656, allocations: 2.688 kB / 447.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.271e-05/0.1656, allocations: 96.5 kB / 448 MB, free: 41.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.1657, allocations: 6.156 kB / 448 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1657, allocations: 5.906 kB / 448 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1657, allocations: 0 / 448 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.289e-05/0.1657, allocations: 13.09 kB / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.1657, allocations: 3.234 kB / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.1657, allocations: 7.312 kB / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-06/0.1657, allocations: 2.969 kB / 448 MB, free: 41.77 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.781e-05/0.1658, allocations: 119.5 kB / 448.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.1658, allocations: 10.86 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.1659, allocations: 95.2 kB / 448.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1659, allocations: 0 / 448.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1659, allocations: 4 kB / 448.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1659, allocations: 3.219 kB / 448.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1661, allocations: 304.2 kB / 448.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1661, allocations: 6.484 kB / 448.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.1661, allocations: 11.78 kB / 448.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1661, allocations: 3.938 kB / 448.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1661, allocations: 5.719 kB / 448.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.1661, allocations: 0 / 448.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1661, allocations: 0 / 448.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.108e-05/0.1662, allocations: 191.4 kB / 448.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.1662, allocations: 6.734 kB / 448.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.1662, allocations: 7.234 kB / 448.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.188e-05/0.1663, allocations: 2.844 kB / 448.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.1663, allocations: 6.141 kB / 448.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1663, allocations: 0 / 448.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.271e-05/0.1663, allocations: 122.7 kB / 448.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1663, allocations: 0 / 448.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.1665, allocations: 26.64 kB / 448.9 MB, free: 41.06 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.0005836/0.1671, allocations: 419.9 kB / 449.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.1672, allocations: 45.75 kB / 449.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.1672, allocations: 0 / 449.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.1672, allocations: 31.06 kB / 449.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.1674, allocations: 26.75 kB / 449.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.1677, allocations: 217.1 kB / 449.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.1677, allocations: 86.47 kB / 449.7 MB, free: 40.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.1678, allocations: 17.61 kB / 449.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1678, allocations: 0 / 449.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of Templates: time 0.001855/0.1696, allocations: 1.525 MB / 451.3 MB, free: 40.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.555137270130217]