Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.000936/0.000936, allocations: 83.69 kB / 21.43 MB, free: 3.121 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.00419/0.00419, allocations: 162.6 kB / 24.7 MB, free: 9.414 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.8795/0.8795, allocations: 177.2 MB / 205 MB, free: 5.719 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.2384/0.2384, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.68e-05, allocations: 2.281 kB / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.1677/0.1677, allocations: 1.659 MB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006653/0.1684, allocations: 0.546 MB / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.1684, allocations: 0 / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.1688, allocations: 459 kB / 446.1 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.1691, allocations: 285 kB / 446.4 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.1693, allocations: 139.9 kB / 446.5 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1695, allocations: 182.8 kB / 446.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.1696, allocations: 11.59 kB / 446.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.904e-05/0.1697, allocations: 118.1 kB / 446.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.1698, allocations: 242.7 kB / 447.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1698, allocations: 6.469 kB / 447.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.521e-05/0.1699, allocations: 56.19 kB / 447.1 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.17, allocations: 88.88 kB / 447.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.17, allocations: 36.94 kB / 447.3 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1702, allocations: 252.2 kB / 447.5 MB, free: 43.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1702, allocations: 0 / 447.5 MB, free: 43.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1702, allocations: 2.875 kB / 447.5 MB, free: 43.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1702, allocations: 0 / 447.5 MB, free: 43.29 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000405/0.1706, allocations: 0.5786 MB / 448.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1707, allocations: 9.25 kB / 448.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.1707, allocations: 44.38 kB / 448.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1708, allocations: 255.2 kB / 448.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1708, allocations: 384 / 448.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1709, allocations: 7.125 kB / 448.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.171, allocations: 61.2 kB / 448.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.171, allocations: 192 / 448.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.171, allocations: 4.125 kB / 448.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.171, allocations: 0 / 448.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.484e-05/0.171, allocations: 31.25 kB / 448.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.1713, allocations: 327 kB / 448.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.791e-05/0.1714, allocations: 55.22 kB / 448.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.1714, allocations: 21.08 kB / 448.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.1714, allocations: 2.875 kB / 448.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.1714, allocations: 33.75 kB / 448.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.1714, allocations: 0 / 448.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005351/0.172, allocations: 310.6 kB / 449.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.172, allocations: 55.34 kB / 449.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.1724, allocations: 0.8575 MB / 450.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.1724, allocations: 29.7 kB / 450.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.1725, allocations: 217.1 kB / 450.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1725, allocations: 26.77 kB / 450.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.1725, allocations: 25.61 kB / 450.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.1726, allocations: 362.9 kB / 450.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.962e-05/0.1726, allocations: 25.03 kB / 450.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.1726, allocations: 28.19 kB / 450.8 MB, free: 41.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.269e-05/0.1727, allocations: 67.48 kB / 450.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1727, allocations: 3.562 kB / 450.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001135/0.1728, allocations: 128.9 kB / 451 MB, free: 40.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.1728, allocations: 5.688 kB / 451 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1728, allocations: 3.234 kB / 451 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1729, allocations: 0 / 451 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.1729, allocations: 17.66 kB / 451.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1729, allocations: 4 kB / 451.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.1729, allocations: 10.94 kB / 451.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1729, allocations: 2.719 kB / 451.1 MB, free: 40.93 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 (8): * Single equations (assignments): 8 * 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.39e-05/0.173, allocations: 222.4 kB / 451.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.1731, allocations: 44 kB / 451.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.1732, allocations: 158 kB / 451.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1732, allocations: 4.094 kB / 451.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1732, allocations: 4 kB / 451.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1732, allocations: 3.188 kB / 451.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.1735, allocations: 450.2 kB / 451.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1735, allocations: 0 / 451.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.1736, allocations: 17.11 kB / 452 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1736, allocations: 2.75 kB / 452 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1736, allocations: 3.422 kB / 452 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1736, allocations: 6.656 kB / 452 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1736, allocations: 7.969 kB / 452 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1737, allocations: 228.9 kB / 452.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.1737, allocations: 35.31 kB / 452.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1737, allocations: 6.375 kB / 452.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.1738, allocations: 10.88 kB / 452.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.1738, allocations: 10.16 kB / 452.3 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1738, allocations: 6.031 kB / 452.3 MB, free: 40.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.1741, allocations: 0.6459 MB / 452.9 MB, free: 39.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1741, allocations: 2.906 kB / 452.9 MB, free: 39.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.1742, allocations: 35.52 kB / 453 MB, free: 39.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0006563/0.1749, allocations: 493.8 kB / 453.4 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.175, allocations: 63.61 kB / 453.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.175, allocations: 0 / 453.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.1751, allocations: 41.27 kB / 453.5 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1753, allocations: 22.97 kB / 453.6 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.1759, allocations: 0.8585 MB / 454.4 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.176, allocations: 219.9 kB / 454.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.1761, allocations: 21.06 kB / 454.7 MB, free: 39.2 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1761, allocations: 3.938 kB / 454.7 MB, free: 39.2 MB / 410.7 MB Notification: Performance of Templates: time 0.003653/0.1797, allocations: 4.11 MB / 458.8 MB, free: 38.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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: 4.6804384319111705]