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.0009593/0.0009593, allocations: 78.66 kB / 21.42 MB, free: 3.078 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.001051/0.001051, allocations: 169.7 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 0.973/0.973, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2685/0.2685, allocations: 32.81 MB / 294.6 MB, free: 1.176 MB / 266.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 1.453e-06/1.453e-06, allocations: 0 / 376.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.891e-05, allocations: 6.25 kB / 376.6 MB, free: 4.277 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.006513/0.006541, allocations: 2.233 MB / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004939/0.01148, allocations: 1.284 MB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.01163, allocations: 7.938 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.012, allocations: 119.3 kB / 380.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.01251, allocations: 258.7 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.01291, allocations: 195.4 kB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003526/0.01643, allocations: 474.4 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.01657, allocations: 45.25 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.01698, allocations: 343.2 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.01715, allocations: 135.5 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.01719, allocations: 24 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.01733, allocations: 67.92 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.01745, allocations: 143.5 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.31e-05/0.01754, allocations: 95.52 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.01791, allocations: 342.5 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.01792, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01792, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.01792, allocations: 0 / 382.3 MB, free: 14.53 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008286/0.01875, allocations: 0.8836 MB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.01879, allocations: 8.031 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.01888, allocations: 84.52 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/0.02225, allocations: 353.2 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.02228, allocations: 12.36 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.02231, allocations: 16.38 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.02258, allocations: 185.5 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.0226, allocations: 11.89 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.02261, allocations: 4 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.02262, allocations: 4 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-05/0.02271, allocations: 55.88 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.02342, allocations: 0.8366 MB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.02379, allocations: 224.2 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.02387, allocations: 70.97 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.02389, allocations: 4 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.02411, allocations: 193.2 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.02412, allocations: 0 / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.004401/0.02852, allocations: 0.7092 MB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.02857, allocations: 136.5 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.02901, allocations: 0.6321 MB / 386.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.02903, allocations: 41.7 kB / 386.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.02917, allocations: 319.6 kB / 387.1 MB, free: 9.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.228e-05/0.02925, allocations: 146.8 kB / 387.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.02932, allocations: 87.77 kB / 387.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.02947, allocations: 0.5624 MB / 387.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.02953, allocations: 52.95 kB / 387.9 MB, free: 8.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.633e-05/0.02962, allocations: 150.3 kB / 388 MB, free: 8.438 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.0298, allocations: 225.7 kB / 388.3 MB, free: 8.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.0298, allocations: 3.938 kB / 388.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003982/0.0302, allocations: 344.9 kB / 388.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.03021, allocations: 8 kB / 388.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.03022, allocations: 0 / 388.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.03023, allocations: 4 kB / 388.6 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.03044, allocations: 87.97 kB / 388.7 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.03044, allocations: 11.98 kB / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.03055, allocations: 12 kB / 388.7 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.03058, allocations: 16 kB / 388.7 MB, free: 7.699 MB / 362.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.0001442/0.03072, allocations: 202.8 kB / 388.9 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.03082, allocations: 83.52 kB / 389 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005492/0.03137, allocations: 402.9 kB / 389.4 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.03138, allocations: 8 kB / 389.4 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.03138, allocations: 0 / 389.4 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.03139, allocations: 15.97 kB / 389.4 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.03233, allocations: 1.262 MB / 390.7 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.03233, allocations: 4 kB / 390.7 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.0325, allocations: 71.84 kB / 390.8 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.0325, allocations: 7.938 kB / 390.8 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.03253, allocations: 12 kB / 390.8 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.03254, allocations: 16.23 kB / 390.8 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.03254, allocations: 4 kB / 390.8 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.03309, allocations: 0.9421 MB / 391.8 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.0332, allocations: 99.45 kB / 391.8 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.03324, allocations: 16 kB / 391.9 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.03339, allocations: 15.98 kB / 391.9 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.03344, allocations: 43.88 kB / 391.9 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.03347, allocations: 19.98 kB / 391.9 MB, free: 4.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002245/0.03369, allocations: 414.8 kB / 392.3 MB, free: 3.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03369, allocations: 4 kB / 392.4 MB, free: 3.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000343/0.03404, allocations: 91.92 kB / 392.4 MB, free: 3.848 MB / 362.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.001319/0.03536, allocations: 0.4926 MB / 392.9 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.0356, allocations: 227.7 kB / 393.2 MB, free: 3.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.03561, allocations: 4 kB / 393.2 MB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.03573, allocations: 128.3 kB / 393.3 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.03631, allocations: 149.8 kB / 393.4 MB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.0372, allocations: 0.9327 MB / 394.4 MB, free: 2.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.639e-05/0.0373, allocations: 150.1 kB / 394.5 MB, free: 1.863 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.03744, allocations: 75.25 kB / 394.6 MB, free: 1.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.03762, allocations: 174.1 kB / 394.8 MB, free: 1.617 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.03762, allocations: 0 / 394.8 MB, free: 1.617 MB / 362.7 MB Notification: Performance of Templates: time 0.0096/0.04722, allocations: 6.351 MB / 401.1 MB, free: 11.37 MB / 378.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.12063412880525]