Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.0008207/0.0008207, allocations: 87.62 kB / 21.44 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.003492/0.003492, allocations: 161.4 kB / 24.7 MB, free: 9.438 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.8815/0.8815, allocations: 177.1 MB / 205 MB, free: 5.746 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.2317/0.2317, allocations: 34.26 MB / 295.7 MB, free: 0.6875 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.168e-05, allocations: 2.844 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.1654/0.1655, allocations: 1.602 MB / 445.1 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006143/0.1661, allocations: 0.5225 MB / 445.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.1661, allocations: 4.375 kB / 445.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1663, allocations: 133.9 kB / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.1665, allocations: 133.1 kB / 445.9 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.1667, allocations: 92.23 kB / 445.9 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1668, allocations: 104.1 kB / 446.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.1669, allocations: 6.781 kB / 446.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.806e-05/0.1669, allocations: 63.19 kB / 446.1 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.167, allocations: 84.36 kB / 446.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.167, allocations: 3.531 kB / 446.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.236e-05/0.1671, allocations: 43.94 kB / 446.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.1671, allocations: 36.97 kB / 446.3 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.1671, allocations: 16.56 kB / 446.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1673, allocations: 113.3 kB / 446.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1673, allocations: 2.906 kB / 446.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1673, allocations: 0 / 446.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1673, allocations: 0 / 446.4 MB, free: 43.44 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.0002641/0.1675, allocations: 370.1 kB / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.1676, allocations: 8.375 kB / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.1676, allocations: 16.66 kB / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.339e-05/0.1677, allocations: 151.2 kB / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-06/0.1677, allocations: 384 / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.1677, allocations: 6.531 kB / 447 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.93e-05/0.1678, allocations: 52.7 kB / 447 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1678, allocations: 3.344 kB / 447 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1678, allocations: 8 kB / 447 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1678, allocations: 0 / 447 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.092e-05/0.1679, allocations: 28.77 kB / 447 MB, free: 42.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.1681, allocations: 249.1 kB / 447.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.715e-05/0.1681, allocations: 35.91 kB / 447.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.1681, allocations: 28.12 kB / 447.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1682, allocations: 0.5 kB / 447.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.1682, allocations: 36.38 kB / 447.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.1682, allocations: 1.906 kB / 447.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004653/0.1686, allocations: 232.5 kB / 447.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.1687, allocations: 54.16 kB / 447.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.1688, allocations: 267.7 kB / 447.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.1688, allocations: 25.7 kB / 448 MB, free: 42.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.1688, allocations: 126.7 kB / 448.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1688, allocations: 22.91 kB / 448.1 MB, free: 42.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.1689, allocations: 25.27 kB / 448.1 MB, free: 42.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.925e-05/0.1689, allocations: 326.5 kB / 448.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.1689, allocations: 32.48 kB / 448.5 MB, free: 41.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.169, allocations: 23.53 kB / 448.5 MB, free: 41.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.168e-05/0.169, allocations: 66.69 kB / 448.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.169, allocations: 0 / 448.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.437e-05/0.1691, allocations: 104.8 kB / 448.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1691, allocations: 11.5 kB / 448.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.1691, allocations: 0 / 448.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1692, allocations: 4 kB / 448.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.1692, allocations: 17.55 kB / 448.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.1692, allocations: 0 / 448.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.1692, allocations: 4.312 kB / 448.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.1692, allocations: 5.641 kB / 448.7 MB, free: 41.77 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 4.752e-05/0.1693, allocations: 150.5 kB / 448.9 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.1693, allocations: 16.16 kB / 448.9 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.1694, allocations: 122.4 kB / 449 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1694, allocations: 4 kB / 449 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1694, allocations: 0 / 449 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1694, allocations: 2.938 kB / 449 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.1697, allocations: 349.2 kB / 449.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1697, allocations: 0 / 449.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.1697, allocations: 17.55 kB / 449.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1697, allocations: 0 / 449.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1697, allocations: 6.062 kB / 449.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1697, allocations: 11.16 kB / 449.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1697, allocations: 2.875 kB / 449.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.965e-05/0.1698, allocations: 212.4 kB / 449.6 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.1698, allocations: 6.828 kB / 449.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.1698, allocations: 7.188 kB / 449.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.474e-05/0.1699, allocations: 5.75 kB / 449.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.1699, allocations: 10.2 kB / 449.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1699, allocations: 2.938 kB / 449.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.035e-05/0.17, allocations: 213.1 kB / 449.8 MB, free: 40.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.17, allocations: 4 kB / 449.8 MB, free: 40.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.1701, allocations: 25.3 kB / 449.9 MB, free: 40.96 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.0006653/0.1708, allocations: 488.8 kB / 450.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.1709, allocations: 72.58 kB / 450.4 MB, free: 40.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.1709, allocations: 0 / 450.4 MB, free: 40.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.171, allocations: 33.44 kB / 450.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.1712, allocations: 22.69 kB / 450.5 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.1715, allocations: 336.1 kB / 450.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.168e-05/0.1716, allocations: 108.7 kB / 450.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.1716, allocations: 17.09 kB / 450.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1716, allocations: 0 / 450.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of Templates: time 0.001985/0.1736, allocations: 1.96 MB / 452.9 MB, free: 40.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.6317506190389395]