Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.0007892/0.0007892, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.00202, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001542/0.001542, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001734/0.003276, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8454/0.8454, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1599/1.005, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1274/0.1274, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02192/0.1493, allocations: 12.3 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 267.5 MB, free: 2.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.088e-05, allocations: 10.19 kB / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002177/0.002198, allocations: 2.067 MB / 269.5 MB, free: 404 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003401, allocations: 0.9087 MB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.003491, allocations: 3.938 kB / 270.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.003692, allocations: 51.62 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.003839, allocations: 75.44 kB / 270.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.00406, allocations: 127.6 kB / 270.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.004275, allocations: 195.3 kB / 270.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.665e-05/0.004362, allocations: 26.45 kB / 270.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.004532, allocations: 143.6 kB / 271.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.125e-05/0.004623, allocations: 55.8 kB / 271.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.004648, allocations: 12 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.194e-05/0.00473, allocations: 51.92 kB / 271.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.00478, allocations: 31.86 kB / 271.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.004823, allocations: 31.94 kB / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.005023, allocations: 155.4 kB / 271.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.005034, allocations: 4 kB / 271.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.005035, allocations: 0 / 271.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.005044, allocations: 3.938 kB / 271.4 MB, free: 14.53 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005411/0.005585, allocations: 482.8 kB / 271.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.437e-05/0.005609, allocations: 8.031 kB / 271.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.00565, allocations: 20.92 kB / 271.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.00582, allocations: 170.4 kB / 272.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.005834, allocations: 8.375 kB / 272.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.005855, allocations: 20.31 kB / 272.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.006028, allocations: 154 kB / 272.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.006035, allocations: 7.875 kB / 272.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.006045, allocations: 4 kB / 272.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.006051, allocations: 4 kB / 272.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.006098, allocations: 30.73 kB / 272.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.006398, allocations: 382 kB / 272.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.006561, allocations: 117.3 kB / 272.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.006589, allocations: 16.86 kB / 272.8 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.006602, allocations: 4 kB / 272.8 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.006721, allocations: 119.8 kB / 272.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.006722, allocations: 0 / 272.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001404/0.006862, allocations: 93.59 kB / 273 MB, free: 12.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.006886, allocations: 55.34 kB / 273.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.007, allocations: 208.1 kB / 273.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.007017, allocations: 29.7 kB / 273.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.007061, allocations: 112.4 kB / 273.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.007084, allocations: 43.67 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.007126, allocations: 33.69 kB / 273.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.007198, allocations: 342.7 kB / 273.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.007234, allocations: 44.53 kB / 273.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/0.007283, allocations: 81.91 kB / 273.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.007e-05/0.007363, allocations: 111.5 kB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.007364, allocations: 0 / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001225/0.007487, allocations: 167.8 kB / 274.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.007515, allocations: 41.62 kB / 274.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.007519, allocations: 0 / 274.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.00753, allocations: 4 kB / 274.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.285e-05/0.007623, allocations: 31.98 kB / 274.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.007629, allocations: 3.984 kB / 274.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.007694, allocations: 27.88 kB / 274.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.007703, allocations: 4.125 kB / 274.3 MB, free: 11.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 6.627e-05/0.00777, allocations: 128.5 kB / 274.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.007789, allocations: 19.97 kB / 274.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.007903, allocations: 95.11 kB / 274.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007905, allocations: 0 / 274.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007907, allocations: 0 / 274.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00791, allocations: 0 / 274.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.476e-05/0.007994, allocations: 109.8 kB / 274.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.007996, allocations: 3.938 kB / 274.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.008063, allocations: 23.92 kB / 274.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.00808, allocations: 23.8 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.008082, allocations: 0 / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.008091, allocations: 3.984 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008092, allocations: 7.938 kB / 274.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.008092, allocations: 0 / 274.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.008233, allocations: 134.7 kB / 274.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.008254, allocations: 11.98 kB / 274.9 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/0.008301, allocations: 11.98 kB / 274.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.008341, allocations: 19.97 kB / 274.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.008352, allocations: 4 kB / 274.9 MB, free: 10.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.917e-05/0.008401, allocations: 73.02 kB / 275 MB, free: 10.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008402, allocations: 0 / 275 MB, free: 10.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000132/0.008534, allocations: 36 kB / 275 MB, free: 10.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001056/0.009589, allocations: 0.5553 MB / 275.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.009736, allocations: 149.9 kB / 275.7 MB, free: 9.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.009744, allocations: 4 kB / 275.7 MB, free: 9.836 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/0.009798, allocations: 41.16 kB / 275.8 MB, free: 9.793 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.01004, allocations: 374.8 kB / 276.1 MB, free: 9.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.01059, allocations: 301.2 kB / 276.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.01063, allocations: 71.98 kB / 276.5 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.01069, allocations: 25.47 kB / 276.5 MB, free: 8.914 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.01079, allocations: 91.28 kB / 276.6 MB, free: 8.824 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01079, allocations: 4 kB / 276.6 MB, free: 8.82 MB / 282.7 MB Notification: Performance of Templates: time 0.00474/0.01553, allocations: 3.287 MB / 279.9 MB, free: 5.531 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8014363730326295]