Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.0007899/0.0007899, 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.003269/0.003269, allocations: 160 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.8398/0.8398, allocations: 177.2 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.2126/0.2126, allocations: 34.25 MB / 295.7 MB, free: 0.6914 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.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.253e-05, allocations: 2.281 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.1674/0.1674, allocations: 1.713 MB / 445.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008592/0.1682, allocations: 0.9718 MB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.1683, allocations: 0 / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1685, allocations: 48.23 kB / 446.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1687, allocations: 94.59 kB / 446.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.902e-05/0.1688, allocations: 76.45 kB / 446.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.1689, allocations: 116.9 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.683e-05/0.169, allocations: 2.938 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.169, allocations: 53.52 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.1691, allocations: 33.64 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1691, allocations: 3.062 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.713e-05/0.1691, allocations: 44.7 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.1692, allocations: 26.75 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.1692, allocations: 23.22 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1693, allocations: 115.4 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1693, allocations: 0 / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1693, allocations: 3.938 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1694, allocations: 0 / 446.8 MB, free: 43.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003059/0.1697, allocations: 345.5 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.565e-05/0.1697, allocations: 8.5 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.1697, allocations: 18.19 kB / 447.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.1699, allocations: 151.7 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1699, allocations: 3.219 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1699, allocations: 3.156 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.605e-05/0.17, allocations: 58.81 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.17, allocations: 3.938 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.17, allocations: 4 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.17, allocations: 0 / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.179e-05/0.17, allocations: 22.97 kB / 447.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.1702, allocations: 233.9 kB / 447.7 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.102e-05/0.1703, allocations: 57.61 kB / 447.7 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.1704, allocations: 27.09 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.1704, allocations: 0 / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.241e-05/0.1704, allocations: 73.17 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.1704, allocations: 0 / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003208/0.1708, allocations: 177.4 kB / 448 MB, free: 42.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.1708, allocations: 54.25 kB / 448.1 MB, free: 42.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.1709, allocations: 201.3 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.1709, allocations: 28.7 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.1709, allocations: 109.3 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.1709, allocations: 22.86 kB / 448.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.171, allocations: 26.91 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.654e-05/0.171, allocations: 328.1 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.171, allocations: 18.92 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.171, allocations: 41.58 kB / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.514e-05/0.1711, allocations: 67.14 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1711, allocations: 0 / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.159e-05/0.1712, allocations: 102.9 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.1712, allocations: 7.281 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1712, allocations: 0 / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.1712, allocations: 6.281 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.264e-05/0.1713, allocations: 18.92 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1713, allocations: 2.844 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.1713, allocations: 0 / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1713, allocations: 2.906 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.563e-05/0.1714, allocations: 131.1 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-06/0.1714, allocations: 9.734 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.1715, allocations: 124.9 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1715, allocations: 6.969 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1715, allocations: 0 / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1715, allocations: 0 / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1717, allocations: 356.9 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1717, allocations: 0 / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.1717, allocations: 12.25 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1717, allocations: 3.156 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1717, allocations: 4 kB / 449.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1717, allocations: 2.969 kB / 449.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1717, allocations: 3.938 kB / 449.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.309e-05/0.1718, allocations: 217.7 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.1718, allocations: 10.69 kB / 449.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1718, allocations: 6.234 kB / 449.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.594e-05/0.1719, allocations: 7.938 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.1719, allocations: 6.156 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1719, allocations: 5.781 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.583e-05/0.172, allocations: 157.2 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.172, allocations: 0 / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.1721, allocations: 24.12 kB / 450.1 MB, free: 40.52 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006348/0.1728, allocations: 0.4949 MB / 450.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.975e-05/0.1729, allocations: 56.84 kB / 450.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.1729, allocations: 0 / 450.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.1729, allocations: 39.88 kB / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1731, allocations: 30.34 kB / 450.7 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.1734, allocations: 253.8 kB / 451 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.724e-05/0.1734, allocations: 93.86 kB / 451 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.1734, allocations: 21.89 kB / 451.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1734, allocations: 0 / 451.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of Templates: time 0.002049/0.1755, allocations: 2 MB / 453.1 MB, free: 39.83 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.793445370160043]