Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.0008264/0.0008264, 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.003909/0.003909, allocations: 160.9 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.8275/0.8275, 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.2361/0.2361, allocations: 34.25 MB / 295.7 MB, free: 0.6953 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.9e-05, allocations: 4.812 kB / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.1674/0.1675, allocations: 1.648 MB / 445.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005948/0.1681, allocations: 0.5458 MB / 445.7 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.1681, allocations: 2.719 kB / 445.7 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.1684, allocations: 450 kB / 446.1 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.1687, allocations: 297.1 kB / 446.4 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1689, allocations: 129 kB / 446.5 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.169, allocations: 183.8 kB / 446.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.257e-05/0.1691, allocations: 12.58 kB / 446.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.1692, allocations: 122.2 kB / 446.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1693, allocations: 243.9 kB / 447.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1693, allocations: 6.75 kB / 447.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.63e-05/0.1694, allocations: 30.25 kB / 447.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.1694, allocations: 88.02 kB / 447.2 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.1695, allocations: 39.66 kB / 447.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1696, allocations: 248.8 kB / 447.5 MB, free: 43.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1696, allocations: 0 / 447.5 MB, free: 43.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1696, allocations: 0 / 447.5 MB, free: 43.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1696, allocations: 0 / 447.5 MB, free: 43.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003778/0.17, allocations: 0.5798 MB / 448.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.17, allocations: 11.81 kB / 448.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.1701, allocations: 44.5 kB / 448.1 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1702, allocations: 240.4 kB / 448.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1702, allocations: 3.281 kB / 448.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.1702, allocations: 7.219 kB / 448.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.815e-05/0.1703, allocations: 53.92 kB / 448.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1703, allocations: 3.75 kB / 448.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1704, allocations: 10.34 kB / 448.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1704, allocations: 0 / 448.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.909e-05/0.1704, allocations: 37.56 kB / 448.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.1707, allocations: 329.4 kB / 448.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.121e-05/0.1707, allocations: 42.09 kB / 448.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.1708, allocations: 34.61 kB / 448.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1708, allocations: 0 / 448.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.1708, allocations: 37.28 kB / 448.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.1708, allocations: 0 / 448.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004438/0.1713, allocations: 295.7 kB / 449.2 MB, free: 42.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.1713, allocations: 58.22 kB / 449.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.1717, allocations: 0.8575 MB / 450.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.752e-06/0.1717, allocations: 29.7 kB / 450.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.1717, allocations: 213 kB / 450.3 MB, free: 41.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.1718, allocations: 22.88 kB / 450.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.1718, allocations: 22.2 kB / 450.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.1718, allocations: 367.8 kB / 450.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.151e-05/0.1719, allocations: 33.42 kB / 450.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/0.1719, allocations: 33.98 kB / 450.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.584e-05/0.172, allocations: 77.86 kB / 450.9 MB, free: 41.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.172, allocations: 0 / 450.9 MB, free: 41.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001335/0.1722, allocations: 147.5 kB / 451 MB, free: 41.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1722, allocations: 2.812 kB / 451 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1722, allocations: 6.719 kB / 451 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1722, allocations: 0 / 451 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.1723, allocations: 20.88 kB / 451 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1723, allocations: 6.219 kB / 451.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.567e-05/0.1723, allocations: 12.56 kB / 451.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1723, allocations: 0 / 451.1 MB, free: 41 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 (7): * Single equations (assignments): 7 * 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.215e-05/0.1724, allocations: 217.1 kB / 451.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1724, allocations: 44.12 kB / 451.3 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.1726, allocations: 167.6 kB / 451.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1726, allocations: 4.172 kB / 451.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1726, allocations: 0 / 451.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1726, allocations: 3.422 kB / 451.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.1729, allocations: 443.2 kB / 451.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1729, allocations: 0 / 451.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.1729, allocations: 21.58 kB / 451.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1729, allocations: 2.938 kB / 451.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1729, allocations: 3.469 kB / 452 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1729, allocations: 0 / 452 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.1729, allocations: 4.938 kB / 452 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.1731, allocations: 251.6 kB / 452.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.1731, allocations: 31.94 kB / 452.2 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1731, allocations: 6.844 kB / 452.2 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.1732, allocations: 13.08 kB / 452.3 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1732, allocations: 6.391 kB / 452.3 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1732, allocations: 0 / 452.3 MB, free: 40.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002843/0.1735, allocations: 0.6492 MB / 452.9 MB, free: 40 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1735, allocations: 0 / 452.9 MB, free: 40 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.1736, allocations: 29.72 kB / 452.9 MB, free: 40 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 (7): * Single equations (assignments): 7 * 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.0005948/0.1742, allocations: 438.7 kB / 453.4 MB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1744, allocations: 81.67 kB / 453.4 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.1744, allocations: 0 / 453.4 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.174e-05/0.1744, allocations: 40.02 kB / 453.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.1747, allocations: 23.95 kB / 453.5 MB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.1753, allocations: 0.8512 MB / 454.4 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.1754, allocations: 226.8 kB / 454.6 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1754, allocations: 18.22 kB / 454.6 MB, free: 39.32 MB / 410.7 MB Notification: Performance of SimCode: time 4e-07/0.1754, allocations: 0 / 454.6 MB, free: 39.32 MB / 410.7 MB Notification: Performance of Templates: time 0.003364/0.1788, allocations: 4.002 MB / 458.6 MB, free: 38.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.4668242279440165]