Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.0011/0.0011, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.007011/0.007011, allocations: 163.8 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8228/0.8228, allocations: 177.2 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2184/0.2184, allocations: 34.25 MB / 295.7 MB, free: 0.6992 MB / 266.7 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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 443.5 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.833e-05, allocations: 2.281 kB / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.1636/0.1636, allocations: 1.614 MB / 445.1 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.1644, allocations: 0.5555 MB / 445.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.1645, allocations: 0 / 445.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.1649, allocations: 449.8 kB / 446.1 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.1652, allocations: 301.9 kB / 446.4 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1654, allocations: 166.4 kB / 446.5 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1656, allocations: 174 kB / 446.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.1657, allocations: 12.66 kB / 446.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.172e-05/0.1658, allocations: 117.3 kB / 446.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.1659, allocations: 251.8 kB / 447.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.166, allocations: 2.375 kB / 447.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.016e-05/0.166, allocations: 22.38 kB / 447.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.1661, allocations: 90.17 kB / 447.2 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.1661, allocations: 35.59 kB / 447.2 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1663, allocations: 238.9 kB / 447.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1663, allocations: 6.094 kB / 447.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1663, allocations: 0 / 447.4 MB, free: 43.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1663, allocations: 0 / 447.4 MB, free: 43.36 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.0004146/0.1667, allocations: 0.571 MB / 448 MB, free: 42.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1667, allocations: 8.531 kB / 448 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1668, allocations: 41.47 kB / 448.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.1669, allocations: 251.8 kB / 448.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.1669, allocations: 3.984 kB / 448.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.1669, allocations: 3.312 kB / 448.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1671, allocations: 58.98 kB / 448.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.1671, allocations: 192 / 448.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1671, allocations: 4.125 kB / 448.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1671, allocations: 3.234 kB / 448.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.409e-05/0.1671, allocations: 30.56 kB / 448.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.1674, allocations: 344 kB / 448.8 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.078e-05/0.1675, allocations: 46.22 kB / 448.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.1675, allocations: 22.75 kB / 448.8 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1675, allocations: 7.875 kB / 448.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.1675, allocations: 32.94 kB / 448.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.1675, allocations: 0 / 448.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002121/0.1678, allocations: 133.4 kB / 449 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.1678, allocations: 54.25 kB / 449 MB, free: 42.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/0.1682, allocations: 0.8633 MB / 449.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.602e-06/0.1682, allocations: 29.7 kB / 449.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.1683, allocations: 213.7 kB / 450.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.1683, allocations: 10.81 kB / 450.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.1683, allocations: 16.62 kB / 450.2 MB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.1684, allocations: 360.6 kB / 450.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.1684, allocations: 18.75 kB / 450.5 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.1684, allocations: 16 kB / 450.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.1685, allocations: 50 kB / 450.6 MB, free: 41.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1685, allocations: 4 kB / 450.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.567e-05/0.1686, allocations: 115.1 kB / 450.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1686, allocations: 7.125 kB / 450.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1686, allocations: 1.406 kB / 450.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1686, allocations: 0 / 450.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.1687, allocations: 9.188 kB / 450.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1687, allocations: 2.375 kB / 450.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.1687, allocations: 2.844 kB / 450.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1687, allocations: 4 kB / 450.7 MB, free: 41.17 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 (3): * Single equations (assignments): 3 * 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 9.126e-05/0.1688, allocations: 214.6 kB / 451 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.1688, allocations: 48.06 kB / 451 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.169, allocations: 130.4 kB / 451.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.169, allocations: 0 / 451.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.169, allocations: 1.438 kB / 451.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.169, allocations: 2.938 kB / 451.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.1691, allocations: 234.1 kB / 451.4 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.1691, allocations: 0 / 451.4 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.1691, allocations: 12.84 kB / 451.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1691, allocations: 6.281 kB / 451.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1691, allocations: 5.969 kB / 451.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.1691, allocations: 0 / 451.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1691, allocations: 0 / 451.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.898e-05/0.1692, allocations: 212.7 kB / 451.6 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.1693, allocations: 42.5 kB / 451.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.1693, allocations: 3.938 kB / 451.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.904e-05/0.1693, allocations: 6.125 kB / 451.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.1693, allocations: 4 kB / 451.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1693, allocations: 2.938 kB / 451.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002954/0.1696, allocations: 0.6483 MB / 452.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1696, allocations: 0 / 452.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001683/0.1698, allocations: 32.59 kB / 452.3 MB, free: 40.31 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 (3): * Single equations (assignments): 3 * 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.0005645/0.1704, allocations: 364.4 kB / 452.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.1705, allocations: 43.08 kB / 452.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1705, allocations: 0 / 452.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.1705, allocations: 20.38 kB / 452.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.1708, allocations: 32.08 kB / 452.8 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.1714, allocations: 0.8382 MB / 453.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.1715, allocations: 223.2 kB / 453.8 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.1715, allocations: 14.77 kB / 453.9 MB, free: 39.67 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1715, allocations: 0 / 453.9 MB, free: 39.67 MB / 410.7 MB Notification: Performance of Templates: time 0.003176/0.1747, allocations: 3.731 MB / 457.6 MB, free: 38.83 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.547207244671881]