Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001045/0.001045, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001153/0.001153, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9568/0.9568, allocations: 177.1 MB / 205 MB, free: 5.637 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.2778/0.2778, allocations: 34.26 MB / 295.7 MB, free: 184 kB / 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.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378.1 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.844e-05, allocations: 2.312 kB / 378.1 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003161/0.00318, allocations: 2.261 MB / 380.4 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.005154, allocations: 1.297 MB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.005286, allocations: 4 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.005691, allocations: 147.2 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000809/0.0065, allocations: 262.7 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.006829, allocations: 191.5 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.007279, allocations: 482.4 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.007407, allocations: 37.27 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.00779, allocations: 395.1 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.007956, allocations: 135.5 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.007996, allocations: 20 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.008137, allocations: 79.84 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.008281, allocations: 163.4 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.008386, allocations: 99.45 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.008793, allocations: 378.3 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.008795, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.008796, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.008801, allocations: 0 / 384 MB, free: 12.46 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.0009482/0.009749, allocations: 0.9535 MB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.009785, allocations: 8.031 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.009893, allocations: 92.41 kB / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.01029, allocations: 377.1 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.01032, allocations: 8.375 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.01036, allocations: 16.38 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.01065, allocations: 185.6 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.01067, allocations: 15.83 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.01069, allocations: 8 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.0107, allocations: 4 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.01081, allocations: 63.86 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007926/0.01161, allocations: 0.9649 MB / 386.7 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.01201, allocations: 236.4 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.01212, allocations: 78.84 kB / 387 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.01214, allocations: 7.938 kB / 387 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.01237, allocations: 193.3 kB / 387.2 MB, free: 9.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.392e-06/0.01237, allocations: 3.938 kB / 387.2 MB, free: 9.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001615/0.01399, allocations: 1.116 MB / 388.3 MB, free: 7.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.01405, allocations: 136.5 kB / 388.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009573/0.01501, allocations: 0.7574 MB / 389.2 MB, free: 6.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.01504, allocations: 33.7 kB / 389.3 MB, free: 6.926 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.01525, allocations: 351.7 kB / 389.6 MB, free: 6.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.01535, allocations: 146.8 kB / 389.8 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.585e-05/0.01545, allocations: 87.81 kB / 389.8 MB, free: 6.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.01557, allocations: 0.4925 MB / 390.3 MB, free: 5.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.01569, allocations: 64.95 kB / 390.4 MB, free: 5.777 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.01586, allocations: 162.4 kB / 390.6 MB, free: 5.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.01617, allocations: 261.2 kB / 390.8 MB, free: 5.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.01617, allocations: 4 kB / 390.8 MB, free: 5.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004932/0.01667, allocations: 372.9 kB / 391.2 MB, free: 4.926 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.01669, allocations: 8 kB / 391.2 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01669, allocations: 4.125 kB / 391.2 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.01671, allocations: 7.938 kB / 391.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.01692, allocations: 83.89 kB / 391.3 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.01693, allocations: 8 kB / 391.3 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01705, allocations: 19.98 kB / 391.3 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.01707, allocations: 20 kB / 391.3 MB, free: 4.777 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.0001358/0.01721, allocations: 190.8 kB / 391.5 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.725e-05/0.0173, allocations: 95.48 kB / 391.6 MB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000616/0.01792, allocations: 444.6 kB / 392 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.01793, allocations: 8 kB / 392.1 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.01793, allocations: 0 / 392.1 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.01794, allocations: 3.984 kB / 392.1 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.01918, allocations: 1.429 MB / 393.5 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.01918, allocations: 7.938 kB / 393.5 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.01932, allocations: 72.16 kB / 393.6 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.01933, allocations: 4 kB / 393.6 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.01935, allocations: 20 kB / 393.6 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.01936, allocations: 7.984 kB / 393.6 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.01937, allocations: 3.938 kB / 393.6 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.02004, allocations: 0.9655 MB / 394.6 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.02018, allocations: 103.5 kB / 394.7 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.02024, allocations: 16 kB / 394.7 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.02047, allocations: 19.98 kB / 394.7 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.02054, allocations: 47.88 kB / 394.7 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.02058, allocations: 23.98 kB / 394.8 MB, free: 1.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004323/0.02101, allocations: 0.4912 MB / 395.3 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02101, allocations: 0 / 395.3 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000484/0.0215, allocations: 99.81 kB / 395.4 MB, free: 0.5938 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.001243/0.02274, allocations: 0.5007 MB / 395.9 MB, free: 280 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003894/0.02313, allocations: 255.7 kB / 396.1 MB, free: 20 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.02313, allocations: 0 / 396.1 MB, free: 20 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.02359, allocations: 141.1 kB / 396.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.02438, allocations: 156.2 kB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.02556, allocations: 1.043 MB / 397.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.0257, allocations: 162.1 kB / 397.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.02585, allocations: 83.23 kB / 397.7 MB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.02596, allocations: 56.48 kB / 397.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02596, allocations: 0 / 397.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of Templates: time 0.009393/0.03535, allocations: 5.807 MB / 403.5 MB, free: 8.574 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4644677438773215]