Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.0007949/0.0007949, allocations: 88.28 kB / 21.44 MB, free: 3.121 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.00318/0.00318, allocations: 154.5 kB / 24.69 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.8657/0.8657, allocations: 177 MB / 204.8 MB, free: 5.754 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.2616/0.2616, 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.CombiTable1Ds.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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.848e-05, allocations: 8.75 kB / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.1617/0.1618, allocations: 1.582 MB / 445 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1628, allocations: 1.242 MB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.1628, allocations: 0.625 kB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.163, allocations: 28.61 kB / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.1631, allocations: 88.2 kB / 446.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.1633, allocations: 95.19 kB / 446.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.735e-05/0.1634, allocations: 74.86 kB / 446.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.035e-05/0.1634, allocations: 2.469 kB / 446.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.1635, allocations: 40.22 kB / 446.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.1636, allocations: 23.12 kB / 446.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1636, allocations: 5.938 kB / 446.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.1637, allocations: 90.73 kB / 446.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.1637, allocations: 14.67 kB / 446.7 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.1637, allocations: 14.72 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1638, allocations: 143.2 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1638, allocations: 3.281 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1638, allocations: 2.75 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1638, allocations: 2.062 kB / 446.9 MB, free: 42.86 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.0002631/0.1641, allocations: 327.7 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.478e-05/0.1641, allocations: 11.75 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.1642, allocations: 7.484 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.591e-05/0.1643, allocations: 132.2 kB / 447.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-06/0.1643, allocations: 3.562 kB / 447.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1643, allocations: 5.281 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.905e-05/0.1644, allocations: 93.34 kB / 447.4 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1644, allocations: 4.141 kB / 447.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.1644, allocations: 384 / 447.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-06/0.1644, allocations: 384 / 447.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.804e-05/0.1644, allocations: 24.83 kB / 447.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.1646, allocations: 222 kB / 447.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1647, allocations: 42.02 kB / 447.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.1647, allocations: 14.36 kB / 447.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.1648, allocations: 9.938 kB / 447.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.287e-06/0.1648, allocations: 30.56 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.1648, allocations: 2.906 kB / 447.8 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002893/0.1651, allocations: 146.9 kB / 447.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.1651, allocations: 77.11 kB / 448 MB, free: 41.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.1651, allocations: 143.9 kB / 448.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.989e-06/0.1652, allocations: 25.7 kB / 448.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.1652, allocations: 102.8 kB / 448.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.1652, allocations: 26.25 kB / 448.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.1652, allocations: 16.41 kB / 448.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.23e-05/0.1652, allocations: 317.1 kB / 448.6 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.1653, allocations: 17.89 kB / 448.6 MB, free: 41.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.1653, allocations: 63.33 kB / 448.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.382e-05/0.1654, allocations: 47.7 kB / 448.8 MB, free: 41.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1654, allocations: 0 / 448.8 MB, free: 41.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.969e-05/0.1654, allocations: 86.34 kB / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.1654, allocations: 5.719 kB / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1654, allocations: 0 / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.1655, allocations: 0 / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.346e-05/0.1655, allocations: 14.05 kB / 448.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1655, allocations: 6.781 kB / 448.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.1655, allocations: 9.969 kB / 448.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.1655, allocations: 0 / 448.9 MB, free: 41.11 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.359e-05/0.1656, allocations: 123.8 kB / 449 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.1656, allocations: 10.67 kB / 449 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.1657, allocations: 90.17 kB / 449.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1657, allocations: 0 / 449.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1657, allocations: 0 / 449.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1657, allocations: 0 / 449.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.1659, allocations: 295.6 kB / 449.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1659, allocations: 6.781 kB / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.1659, allocations: 19.06 kB / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1659, allocations: 0 / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.1659, allocations: 0 / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1659, allocations: 2.812 kB / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.1659, allocations: 0 / 449.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.287e-05/0.166, allocations: 181.3 kB / 449.6 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.166, allocations: 10.25 kB / 449.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.166, allocations: 0 / 449.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.166, allocations: 5.781 kB / 449.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.1661, allocations: 7.375 kB / 449.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.1661, allocations: 2.906 kB / 449.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.836e-05/0.1661, allocations: 112.8 kB / 449.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1661, allocations: 0 / 449.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.1663, allocations: 41.42 kB / 449.8 MB, free: 40.4 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.0006527/0.1669, allocations: 0.5155 MB / 450.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.167, allocations: 44.48 kB / 450.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.167, allocations: 0 / 450.3 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.167, allocations: 33.39 kB / 450.4 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1672, allocations: 27.23 kB / 450.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.1675, allocations: 185.6 kB / 450.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.1675, allocations: 78.73 kB / 450.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.1675, allocations: 17.45 kB / 450.7 MB, free: 39.95 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1675, allocations: 0 / 450.7 MB, free: 39.95 MB / 410.7 MB Notification: Performance of Templates: time 0.001898/0.1694, allocations: 1.972 MB / 452.6 MB, free: 39.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.977774515748024]