Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001483/0.001483, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001877/0.001877, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.9649/0.9649, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1417/0.1417, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.423e-05/4.634e-05, allocations: 6.25 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003857/0.003903, allocations: 2.233 MB / 379.6 MB, free: 23.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.005891, allocations: 1.286 MB / 380.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.006072, allocations: 4 kB / 380.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.006503, allocations: 127.2 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.006942, allocations: 254.8 kB / 381.3 MB, free: 21.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.007326, allocations: 195.4 kB / 381.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000378/0.007704, allocations: 474.4 kB / 381.9 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.176e-05/0.007786, allocations: 41.27 kB / 382 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.008091, allocations: 355.1 kB / 382.3 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.008247, allocations: 131.5 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.008277, allocations: 20 kB / 382.5 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.008402, allocations: 75.91 kB / 382.5 MB, free: 20.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.008494, allocations: 143.5 kB / 382.7 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.008554, allocations: 91.56 kB / 382.8 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.008848, allocations: 346.4 kB / 383.1 MB, free: 19.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00885, allocations: 0 / 383.1 MB, free: 19.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.008851, allocations: 0 / 383.1 MB, free: 19.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.008856, allocations: 0 / 383.1 MB, free: 19.74 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005606/0.009416, allocations: 0.8914 MB / 384 MB, free: 18.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.009446, allocations: 11.98 kB / 384 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.009522, allocations: 80.5 kB / 384.1 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.009753, allocations: 345.2 kB / 384.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.009772, allocations: 12.38 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.009794, allocations: 16.36 kB / 384.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.009961, allocations: 177.5 kB / 384.6 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.009981, allocations: 7.891 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.009993, allocations: 8 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.009998, allocations: 11.98 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/0.01006, allocations: 51.88 kB / 384.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.01047, allocations: 0.8405 MB / 385.5 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.01073, allocations: 220.4 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.01078, allocations: 74.83 kB / 385.8 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.01079, allocations: 8 kB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.01093, allocations: 177.2 kB / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.102e-06/0.01093, allocations: 4 kB / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.000891/0.01182, allocations: 0.7128 MB / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.01185, allocations: 140.5 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.01215, allocations: 0.636 MB / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.01217, allocations: 41.69 kB / 387.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/0.01227, allocations: 311.6 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.01234, allocations: 150.8 kB / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.0124, allocations: 79.83 kB / 388.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.01248, allocations: 0.5663 MB / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.539e-05/0.01253, allocations: 44.97 kB / 388.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.881e-05/0.01261, allocations: 154.4 kB / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.01275, allocations: 225.6 kB / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01276, allocations: 3.938 kB / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002969/0.01305, allocations: 347.7 kB / 389.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.01306, allocations: 8 kB / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.01307, allocations: 0 / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.01307, allocations: 8.125 kB / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.0132, allocations: 87.83 kB / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.247e-06/0.01321, allocations: 4 kB / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.837e-05/0.01329, allocations: 19.95 kB / 389.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.0133, allocations: 19.98 kB / 389.5 MB, free: 12.92 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001103/0.01341, allocations: 186.9 kB / 389.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.01347, allocations: 87.56 kB / 389.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.01384, allocations: 396.3 kB / 390.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.01385, allocations: 12 kB / 390.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01385, allocations: 3.984 kB / 390.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01386, allocations: 0 / 390.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008707/0.01473, allocations: 1.285 MB / 391.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.01473, allocations: 7.938 kB / 391.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.01485, allocations: 71.89 kB / 391.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.01486, allocations: 12.19 kB / 391.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.01487, allocations: 15.98 kB / 391.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.01488, allocations: 4 kB / 391.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.01488, allocations: 8 kB / 391.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.01528, allocations: 0.934 MB / 392.5 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.01537, allocations: 103.4 kB / 392.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.0154, allocations: 15.94 kB / 392.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.01555, allocations: 19.98 kB / 392.7 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.0156, allocations: 35.94 kB / 392.7 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.01562, allocations: 27.98 kB / 392.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.0158, allocations: 414.8 kB / 393.1 MB, free: 9.152 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0158, allocations: 0 / 393.1 MB, free: 9.152 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.01616, allocations: 91.92 kB / 393.2 MB, free: 9.062 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001144/0.0173, allocations: 0.4894 MB / 393.7 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.01756, allocations: 219.7 kB / 393.9 MB, free: 8.539 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01757, allocations: 0 / 393.9 MB, free: 8.539 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.01767, allocations: 132.3 kB / 394.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.01823, allocations: 156 kB / 394.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.01904, allocations: 0.9345 MB / 395.1 MB, free: 7.254 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.099e-05/0.01912, allocations: 146.2 kB / 395.3 MB, free: 7.094 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.01925, allocations: 75.23 kB / 395.4 MB, free: 7.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.01942, allocations: 170.1 kB / 395.5 MB, free: 6.852 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01942, allocations: 0 / 395.5 MB, free: 6.852 MB / 314.7 MB Notification: Performance of Templates: time 0.00924/0.02866, allocations: 6.464 MB / 402 MB, free: 0.5039 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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.418813786935061]