Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001408/0.001408, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001082/0.001082, allocations: 170.3 kB / 24.91 MB, free: 8.77 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.9902/0.9902, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2313/0.2313, allocations: 32.8 MB / 294.6 MB, free: 1.207 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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.149e-05, allocations: 2.312 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003512/0.003533, allocations: 2.231 MB / 325.6 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.005238, allocations: 1.319 MB / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.005352, allocations: 0 / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.005715, allocations: 139.2 kB / 327 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.006133, allocations: 270.7 kB / 327.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.006399, allocations: 191.5 kB / 327.5 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.006765, allocations: 478.4 kB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.006872, allocations: 49.22 kB / 328 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.007211, allocations: 359.1 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.007364, allocations: 139.5 kB / 328.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.007395, allocations: 16 kB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.007513, allocations: 83.83 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.007635, allocations: 159.4 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.007721, allocations: 107.4 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.008157, allocations: 374.3 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.00816, allocations: 4 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.008161, allocations: 0 / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.008166, allocations: 0 / 329.2 MB, free: 3.73 MB / 298.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.0006954/0.008861, allocations: 0.7986 MB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.008896, allocations: 8.031 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.008959, allocations: 48.89 kB / 330 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.009272, allocations: 358.3 kB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.009296, allocations: 20.36 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.009323, allocations: 12.38 kB / 330.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.009511, allocations: 177 kB / 330.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.009524, allocations: 11.83 kB / 330.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.009537, allocations: 7.984 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.009541, allocations: 4 kB / 330.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.786e-05/0.009609, allocations: 59.2 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.01016, allocations: 0.5573 MB / 331.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.01045, allocations: 373.4 kB / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.0105, allocations: 51.67 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.01051, allocations: 4 kB / 331.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.01067, allocations: 176.2 kB / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.082e-06/0.01067, allocations: 0 / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008332/0.0115, allocations: 0.6098 MB / 332.4 MB, free: 288 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.01156, allocations: 136.5 kB / 332.6 MB, free: 120 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.01195, allocations: 0.6539 MB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.01197, allocations: 41.7 kB / 333.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.01204, allocations: 162.9 kB / 333.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.01211, allocations: 146.8 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.01217, allocations: 82.11 kB / 333.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.01224, allocations: 325.9 kB / 334 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.0123, allocations: 51.8 kB / 334 MB, free: 14.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.01237, allocations: 111.8 kB / 334.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.0128, allocations: 208.6 kB / 334.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0128, allocations: 0 / 334.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002121/0.01302, allocations: 253.4 kB / 334.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.01303, allocations: 10.34 kB / 334.6 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01303, allocations: 0 / 334.6 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.01304, allocations: 4 kB / 334.6 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.01319, allocations: 91.81 kB / 334.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01319, allocations: 4 kB / 334.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.01327, allocations: 19.92 kB / 334.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01328, allocations: 12 kB / 334.7 MB, free: 13.88 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.000105/0.01339, allocations: 151.1 kB / 334.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.01344, allocations: 63.88 kB / 334.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.01371, allocations: 290.4 kB / 335.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01372, allocations: 4 kB / 335.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.01372, allocations: 4 kB / 335.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01373, allocations: 3.984 kB / 335.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.01439, allocations: 1.061 MB / 336.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.0144, allocations: 0 / 336.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.777e-05/0.01449, allocations: 63.91 kB / 336.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.0145, allocations: 11.94 kB / 336.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01451, allocations: 11.98 kB / 336.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.01452, allocations: 8 kB / 336.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.01452, allocations: 3.938 kB / 336.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.01485, allocations: 0.7674 MB / 337.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.01495, allocations: 91.44 kB / 337.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.01499, allocations: 23.92 kB / 337.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.01513, allocations: 15.98 kB / 337.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.01519, allocations: 39.94 kB / 337.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.01521, allocations: 27.92 kB / 337.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002307/0.01544, allocations: 351.3 kB / 337.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01544, allocations: 0 / 337.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.01574, allocations: 91.88 kB / 337.8 MB, free: 10.7 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.001384/0.01713, allocations: 0.672 MB / 338.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.01733, allocations: 197.6 kB / 338.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.01734, allocations: 4 kB / 338.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.01744, allocations: 126.1 kB / 338.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.01793, allocations: 138.8 kB / 338.9 MB, free: 9.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.01881, allocations: 0.9885 MB / 339.9 MB, free: 8.852 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.01892, allocations: 158.2 kB / 340.1 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.01904, allocations: 75.25 kB / 340.1 MB, free: 8.598 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.0192, allocations: 135.3 kB / 340.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0192, allocations: 0 / 340.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of Templates: time 0.008071/0.02727, allocations: 6.332 MB / 346.6 MB, free: 2.246 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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.0651583787985146]