Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.001051/0.001051, allocations: 80.98 kB / 20.66 MB, free: 3.84 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.001026/0.001026, allocations: 173 kB / 24.05 MB, free: 456 kB / 18.57 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.9964/0.9964, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.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.1359/0.1359, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.703e-05, allocations: 10.25 kB / 348.2 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.001942/0.001959, allocations: 1.713 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.002836, allocations: 0.7959 MB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.002917, allocations: 0 / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.003239, allocations: 59.67 kB / 350.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.003447, allocations: 55.75 kB / 350.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.00363, allocations: 91.7 kB / 350.9 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.003748, allocations: 99.56 kB / 351 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.499e-05/0.003823, allocations: 12.22 kB / 351 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.91e-05/0.003892, allocations: 43.91 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.003954, allocations: 27.91 kB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.00397, allocations: 4 kB / 351.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.517e-05/0.004035, allocations: 43.86 kB / 351.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.666e-05/0.004082, allocations: 35.84 kB / 351.2 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.004116, allocations: 15.94 kB / 351.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.004264, allocations: 115.5 kB / 351.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004265, allocations: 0 / 351.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004266, allocations: 4 kB / 351.3 MB, free: 5.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.00427, allocations: 0 / 351.3 MB, free: 5.957 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003371/0.004607, allocations: 475.7 kB / 351.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.004639, allocations: 8.031 kB / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.004669, allocations: 16.84 kB / 351.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.004776, allocations: 160.3 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.004789, allocations: 4.375 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.004804, allocations: 384 / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.632e-05/0.00489, allocations: 62.94 kB / 352 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.004899, allocations: 3.938 kB / 352 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.004905, allocations: 7.938 kB / 352 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.00491, allocations: 3.984 kB / 352 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.004934, allocations: 11.98 kB / 352.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.005127, allocations: 268.3 kB / 352.3 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.005224, allocations: 51.16 kB / 352.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.005243, allocations: 15.69 kB / 352.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.005256, allocations: 4 kB / 352.4 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.176e-05/0.005328, allocations: 68.97 kB / 352.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.005329, allocations: 4 kB / 352.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002728/0.005602, allocations: 133.4 kB / 352.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.00562, allocations: 59.33 kB / 352.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.005714, allocations: 269.3 kB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.005722, allocations: 25.7 kB / 352.9 MB, free: 4.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.005763, allocations: 162.8 kB / 353.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.005787, allocations: 39.72 kB / 353.1 MB, free: 3.965 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.005813, allocations: 27.38 kB / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.005865, allocations: 0.5001 MB / 353.7 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.005878, allocations: 8 kB / 353.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.0059, allocations: 39.34 kB / 353.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.005937, allocations: 43.31 kB / 353.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.005938, allocations: 0 / 353.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.454e-05/0.006013, allocations: 93.58 kB / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.006023, allocations: 4 kB / 353.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.006028, allocations: 4.078 kB / 353.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.006039, allocations: 0 / 353.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.006096, allocations: 19.94 kB / 353.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.0061, allocations: 3.984 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.006133, allocations: 12.02 kB / 353.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.006139, allocations: 0 / 353.9 MB, free: 3.172 MB / 282.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 5.782e-05/0.006197, allocations: 160.6 kB / 354 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.006212, allocations: 19.84 kB / 354.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.006328, allocations: 103.1 kB / 354.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.00633, allocations: 0 / 354.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.006332, allocations: 0 / 354.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.006336, allocations: 0 / 354.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.006545, allocations: 373.6 kB / 354.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006546, allocations: 3.969 kB / 354.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.006569, allocations: 12 kB / 354.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.006571, allocations: 384 / 354.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.006578, allocations: 4 kB / 354.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.00658, allocations: 4 kB / 354.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.006581, allocations: 3.984 kB / 354.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.006682, allocations: 251.4 kB / 354.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.006693, allocations: 15.89 kB / 354.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.006709, allocations: 4 kB / 354.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.958e-05/0.006748, allocations: 4 kB / 354.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.006772, allocations: 11.92 kB / 354.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.006782, allocations: 4 kB / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.33e-05/0.006835, allocations: 188.4 kB / 355 MB, free: 1.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006835, allocations: 0 / 355 MB, free: 1.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.006997, allocations: 27.94 kB / 355 MB, free: 1.926 MB / 282.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.0007872/0.007784, allocations: 427.4 kB / 355.5 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.79e-05/0.007862, allocations: 51.55 kB / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.007863, allocations: 0 / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.876e-05/0.007892, allocations: 35.88 kB / 355.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.008112, allocations: 47.91 kB / 355.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.008378, allocations: 249.6 kB / 355.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.962e-05/0.008408, allocations: 76.27 kB / 355.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.01e-05/0.008438, allocations: 12.48 kB / 355.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.00849, allocations: 90.19 kB / 356 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.008491, allocations: 0 / 356 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of Templates: time 0.003317/0.01181, allocations: 2.028 MB / 358 MB, free: 14.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1796102989465]