Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001298/0.001298, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001439/0.001439, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.181/1.181, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.3446/0.3446, allocations: 34.27 MB / 296.1 MB, free: 0.7227 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/3.081e-05, allocations: 5.266 kB / 378.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002653/0.002684, allocations: 1.758 MB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.004004, allocations: 0.9897 MB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.004086, allocations: 3.938 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.004447, allocations: 83.64 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.004794, allocations: 115.5 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.005009, allocations: 87.53 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.005183, allocations: 127.6 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.5e-05/0.005278, allocations: 4 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.005381, allocations: 63.77 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.005486, allocations: 59.86 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.005502, allocations: 4 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.949e-05/0.005592, allocations: 47.91 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.005652, allocations: 19.92 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.005693, allocations: 23.88 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.005899, allocations: 111.6 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005902, allocations: 0 / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005902, allocations: 0 / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.005908, allocations: 0 / 382.1 MB, free: 14.79 MB / 362.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.0005863/0.006494, allocations: 459.8 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.006547, allocations: 8.031 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.006601, allocations: 20.84 kB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.006793, allocations: 156.3 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.006814, allocations: 384 / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.006837, allocations: 8.375 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.006994, allocations: 62.88 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.007009, allocations: 7.938 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.007018, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.007028, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.176e-05/0.00706, allocations: 7.984 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.007345, allocations: 260.4 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.562e-05/0.007441, allocations: 55.08 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.367e-05/0.007464, allocations: 19.69 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.007481, allocations: 4 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.007582, allocations: 64.98 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.007583, allocations: 0 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003523/0.007935, allocations: 133.4 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.007973, allocations: 59.39 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.00812, allocations: 238.7 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.008136, allocations: 25.7 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.008207, allocations: 166.8 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.008241, allocations: 23.8 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.008278, allocations: 31.34 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.00843, allocations: 0.504 MB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.008451, allocations: 8 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.008484, allocations: 31.3 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.452e-05/0.008539, allocations: 51.42 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.00854, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001033/0.008643, allocations: 89.45 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.008656, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.008661, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.008675, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.008736, allocations: 24.39 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.008739, allocations: 0 / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/0.008771, allocations: 8 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.008775, allocations: 0 / 384.6 MB, free: 12.07 MB / 362.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 7.924e-05/0.008855, allocations: 164.5 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.008872, allocations: 19.83 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.009012, allocations: 103 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.009015, allocations: 4 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.009016, allocations: 0 / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.00902, allocations: 0 / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.009314, allocations: 369.6 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.009316, allocations: 0 / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.009346, allocations: 12 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.00935, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.009356, allocations: 4 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.009358, allocations: 3.984 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.00936, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.009511, allocations: 259.4 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.009529, allocations: 11.94 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.009549, allocations: 4 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.009592, allocations: 8.031 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.009627, allocations: 7.984 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.009639, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.713e-05/0.009726, allocations: 177 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009726, allocations: 0 / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001976/0.009923, allocations: 31.89 kB / 385.7 MB, free: 10.84 MB / 362.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.001128/0.01105, allocations: 437.7 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.01116, allocations: 51.62 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01117, allocations: 4.062 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.64e-05/0.01121, allocations: 27.61 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.01145, allocations: 34.5 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.0118, allocations: 236.6 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.793e-05/0.01185, allocations: 75.27 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.01189, allocations: 8.984 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.01196, allocations: 102.2 kB / 386.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01196, allocations: 0 / 386.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of Templates: time 0.00428/0.01624, allocations: 2.048 MB / 388.7 MB, free: 7.965 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.6504368586465716]