Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001755/0.001755, allocations: 82.23 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002175/0.002175, allocations: 163.5 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.605/1.605, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2315/0.2315, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 442.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.797e-05, allocations: 6.219 kB / 442.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003269/0.003297, allocations: 1.684 MB / 444.4 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.005235, allocations: 0.9548 MB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.861e-05/0.005323, allocations: 0 / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.005672, allocations: 79.58 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.006053, allocations: 107.5 kB / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.006273, allocations: 67.62 kB / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.006488, allocations: 115.5 kB / 445.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.006532, allocations: 4.234 kB / 445.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.006656, allocations: 55.89 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.006761, allocations: 43.88 kB / 445.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.006782, allocations: 7.938 kB / 445.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-05/0.006868, allocations: 31.92 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.006934, allocations: 27.91 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.006989, allocations: 15.94 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.007203, allocations: 107.6 kB / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.007206, allocations: 0 / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007207, allocations: 0 / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.007212, allocations: 0 / 446 MB, free: 2.02 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005611/0.007773, allocations: 333.6 kB / 446.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.007811, allocations: 15.97 kB / 446.4 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.007863, allocations: 16.83 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.008099, allocations: 154.3 kB / 446.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.008114, allocations: 4.375 kB / 446.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.008125, allocations: 384 / 446.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.008284, allocations: 54.17 kB / 446.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.008296, allocations: 3.938 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.008306, allocations: 0 / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.00831, allocations: 0 / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.191e-05/0.008392, allocations: 19.98 kB / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.008578, allocations: 129.3 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.008769, allocations: 46.62 kB / 446.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.008835, allocations: 28.78 kB / 446.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.008851, allocations: 0 / 446.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.009008, allocations: 67.39 kB / 446.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.009009, allocations: 0 / 446.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003449/0.009354, allocations: 105.5 kB / 447 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.009404, allocations: 51.41 kB / 447.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.009627, allocations: 206.2 kB / 447.3 MB, free: 0.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.009647, allocations: 25.7 kB / 447.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.009716, allocations: 104.1 kB / 447.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.009746, allocations: 15.91 kB / 447.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.009798, allocations: 21.7 kB / 447.4 MB, free: 500 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.009966, allocations: 326.8 kB / 447.7 MB, free: 164 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.01002, allocations: 12 kB / 447.7 MB, free: 152 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-05/0.0101, allocations: 29.7 kB / 447.8 MB, free: 116 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.01021, allocations: 45.95 kB / 447.8 MB, free: 64 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01022, allocations: 4 kB / 447.8 MB, free: 60 kB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.2193/0.2295, allocations: 78.73 kB / 447.9 MB, free: 19.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.2296, allocations: 6.844 kB / 447.9 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.2296, allocations: 3.844 kB / 447.9 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.2296, allocations: 1.344 kB / 447.9 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.2297, allocations: 10.47 kB / 447.9 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2297, allocations: 4.359 kB / 447.9 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.059e-05/0.2298, allocations: 11.67 kB / 447.9 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.2298, allocations: 5.5 kB / 447.9 MB, free: 19.14 MB / 366.1 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 (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 0.0001279/0.23, allocations: 125.9 kB / 448.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.23, allocations: 9.156 kB / 448.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.2303, allocations: 99.48 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.2303, allocations: 3.047 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2303, allocations: 0 / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2303, allocations: 0.5156 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.2305, allocations: 143.5 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2305, allocations: 1.094 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.2305, allocations: 4.844 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2305, allocations: 1.406 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.2306, allocations: 0.7031 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2306, allocations: 1.484 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2306, allocations: 0 / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.2308, allocations: 125.1 kB / 448.4 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.2308, allocations: 7.531 kB / 448.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.2308, allocations: 5.359 kB / 448.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.259e-05/0.2309, allocations: 4.266 kB / 448.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.2309, allocations: 6.141 kB / 448.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.2309, allocations: 6.469 kB / 448.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.2311, allocations: 150.9 kB / 448.6 MB, free: 18.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2311, allocations: 0 / 448.6 MB, free: 18.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.2313, allocations: 19.11 kB / 448.6 MB, free: 18.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001679/0.233, allocations: 437.2 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.2332, allocations: 42.3 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2332, allocations: 1.156 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.787e-05/0.2333, allocations: 21.98 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2336, allocations: 34.67 kB / 449.2 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.2341, allocations: 209.2 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.773e-05/0.2342, allocations: 89.02 kB / 449.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.241e-05/0.2343, allocations: 16.17 kB / 449.5 MB, free: 18.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.2343, allocations: 15.08 kB / 449.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2343, allocations: 4 kB / 449.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of Templates: time 0.006205/0.2405, allocations: 1.622 MB / 451.1 MB, free: 18.17 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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: 5.092106562107801]