Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001228/0.001228, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006741/0.006741, allocations: 160.7 kB / 24.7 MB, free: 9.43 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.9059/0.9059, allocations: 177.1 MB / 205 MB, free: 5.723 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.2438/0.2438, 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 3.938 kB / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.681e-05, allocations: 6.281 kB / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.1653/0.1653, allocations: 1.671 MB / 445.1 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006361/0.1659, allocations: 0.5506 MB / 445.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.166, allocations: 0 / 445.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1663, allocations: 458.1 kB / 446.1 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.1666, allocations: 295.6 kB / 446.4 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1668, allocations: 136.6 kB / 446.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.167, allocations: 178.4 kB / 446.7 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.167, allocations: 20.25 kB / 446.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.1671, allocations: 124.7 kB / 446.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1673, allocations: 238.4 kB / 447.1 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1673, allocations: 5.875 kB / 447.1 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.1674, allocations: 55.22 kB / 447.2 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.1674, allocations: 90.83 kB / 447.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.1675, allocations: 40.81 kB / 447.3 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.1676, allocations: 256.3 kB / 447.5 MB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1676, allocations: 0 / 447.5 MB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1676, allocations: 0 / 447.5 MB, free: 43.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1677, allocations: 0 / 447.5 MB, free: 43.3 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.0004091/0.1681, allocations: 0.5883 MB / 448.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1681, allocations: 8.656 kB / 448.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.1681, allocations: 48.94 kB / 448.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1683, allocations: 248.9 kB / 448.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.1683, allocations: 3.75 kB / 448.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1683, allocations: 6.25 kB / 448.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.1684, allocations: 58.34 kB / 448.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1684, allocations: 192 / 448.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1684, allocations: 11.31 kB / 448.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1684, allocations: 2.938 kB / 448.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7e-05/0.1685, allocations: 35.36 kB / 448.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.1688, allocations: 345.6 kB / 448.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1689, allocations: 56.66 kB / 448.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.169, allocations: 24.11 kB / 449 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.169, allocations: 5.016 kB / 449 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.024e-05/0.169, allocations: 37.69 kB / 449 MB, free: 42.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.169, allocations: 0 / 449 MB, free: 42.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007528/0.1698, allocations: 474.2 kB / 449.5 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.1698, allocations: 54.31 kB / 449.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.1702, allocations: 0.8588 MB / 450.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.1702, allocations: 29.7 kB / 450.4 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.1703, allocations: 213.3 kB / 450.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.1703, allocations: 37.83 kB / 450.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.1703, allocations: 26.34 kB / 450.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.1703, allocations: 367.7 kB / 451 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.1704, allocations: 47.3 kB / 451.1 MB, free: 41.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.374e-05/0.1705, allocations: 45.14 kB / 451.1 MB, free: 40.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1706, allocations: 99.2 kB / 451.2 MB, free: 40.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1706, allocations: 0 / 451.2 MB, free: 40.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001617/0.1707, allocations: 181.2 kB / 451.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1708, allocations: 9.219 kB / 451.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1708, allocations: 0 / 451.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1708, allocations: 0 / 451.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.1708, allocations: 33.25 kB / 451.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1708, allocations: 0 / 451.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.483e-05/0.1709, allocations: 11.67 kB / 451.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.1709, allocations: 3.031 kB / 451.5 MB, free: 40.87 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 (11): * Single equations (assignments): 11 * 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.552e-05/0.171, allocations: 226.6 kB / 451.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.171, allocations: 47.39 kB / 451.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.1712, allocations: 195.3 kB / 451.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1712, allocations: 0 / 451.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1712, allocations: 6.812 kB / 451.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1712, allocations: 0 / 451.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.1716, allocations: 0.5027 MB / 452.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1716, allocations: 0 / 452.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.1716, allocations: 30.94 kB / 452.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1716, allocations: 2.781 kB / 452.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1716, allocations: 6.906 kB / 452.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1716, allocations: 3.938 kB / 452.5 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1716, allocations: 0 / 452.5 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.1718, allocations: 287.1 kB / 452.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.1718, allocations: 34.59 kB / 452.8 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1718, allocations: 0 / 452.8 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.146e-05/0.1719, allocations: 23.42 kB / 452.8 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.1719, allocations: 6.281 kB / 452.8 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1719, allocations: 12.42 kB / 452.8 MB, free: 40.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002991/0.1722, allocations: 0.6481 MB / 453.5 MB, free: 39.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1722, allocations: 0 / 453.5 MB, free: 39.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.1724, allocations: 39.31 kB / 453.5 MB, free: 39.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0006883/0.1731, allocations: 485.4 kB / 454 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1733, allocations: 108.3 kB / 454.1 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1733, allocations: 0 / 454.1 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.467e-05/0.1733, allocations: 58.53 kB / 454.2 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1736, allocations: 32.62 kB / 454.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.1743, allocations: 0.8947 MB / 455.1 MB, free: 39.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.1744, allocations: 229 kB / 455.3 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.1744, allocations: 17.22 kB / 455.3 MB, free: 39.02 MB / 410.7 MB Notification: Performance of SimCode: time 4.8e-07/0.1744, allocations: 0 / 455.3 MB, free: 39.02 MB / 410.7 MB Notification: Performance of Templates: time 0.003655/0.1781, allocations: 4.294 MB / 459.6 MB, free: 38.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.564060064963996]