Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001438/0.001438, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001509/0.001509, allocations: 161 kB / 24.56 MB, free: 12 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.9708/0.9708, allocations: 177.1 MB / 205 MB, free: 5.617 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.2515/0.2515, allocations: 32.81 MB / 294.3 MB, free: 1.277 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.465e-05, allocations: 6.312 kB / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002934/0.002958, allocations: 2.335 MB / 378.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.005006, allocations: 1.382 MB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.00519, allocations: 7.938 kB / 379.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005273/0.005717, allocations: 298.8 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005905/0.006308, allocations: 346.4 kB / 380.5 MB, free: 200 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.006683, allocations: 219.5 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.00712, allocations: 0.5762 MB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.007259, allocations: 33.27 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.007536, allocations: 303.1 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.007762, allocations: 255.3 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.007804, allocations: 20 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.00792, allocations: 59.92 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.008065, allocations: 127.5 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.008189, allocations: 103.5 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.00869, allocations: 326.6 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.008696, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.008698, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.00871, allocations: 0 / 382.4 MB, free: 14.2 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0011/0.00981, allocations: 0.8302 MB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.009853, allocations: 15.98 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.795e-05/0.009951, allocations: 72.55 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.01034, allocations: 359.1 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.01037, allocations: 8.375 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.01041, allocations: 20.36 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.0107, allocations: 201.7 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.01072, allocations: 3.938 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.01074, allocations: 11.98 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.01075, allocations: 4 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.01086, allocations: 63.88 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.0116, allocations: 1.019 MB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.01193, allocations: 271.7 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.01203, allocations: 82.41 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.01206, allocations: 4 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.01234, allocations: 223.2 kB / 385.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.01234, allocations: 4 kB / 385.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001231/0.01358, allocations: 0.9388 MB / 386.5 MB, free: 9.809 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.01365, allocations: 170.1 kB / 386.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.01408, allocations: 0.573 MB / 387.3 MB, free: 9.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.01411, allocations: 37.7 kB / 387.3 MB, free: 8.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.01426, allocations: 295.7 kB / 387.6 MB, free: 8.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.874e-05/0.01435, allocations: 131 kB / 387.7 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.01443, allocations: 75.84 kB / 387.8 MB, free: 8.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.01459, allocations: 0.5547 MB / 388.4 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.845e-05/0.01469, allocations: 60.97 kB / 388.4 MB, free: 7.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.01483, allocations: 177.8 kB / 388.6 MB, free: 7.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.01508, allocations: 247 kB / 388.8 MB, free: 7.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01508, allocations: 4 kB / 388.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003799/0.01546, allocations: 345 kB / 389.2 MB, free: 7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.01548, allocations: 11.98 kB / 389.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01549, allocations: 0 / 389.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.01551, allocations: 7.938 kB / 389.2 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.01571, allocations: 87.78 kB / 389.3 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.01572, allocations: 4 kB / 389.3 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.01583, allocations: 23.94 kB / 389.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.01585, allocations: 16.16 kB / 389.3 MB, free: 6.852 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001406/0.01599, allocations: 199.1 kB / 389.5 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.01606, allocations: 79.55 kB / 389.6 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005031/0.01656, allocations: 406.1 kB / 390 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.01657, allocations: 11.94 kB / 390 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01658, allocations: 0 / 390 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.01658, allocations: 3.984 kB / 390 MB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.01777, allocations: 1.402 MB / 391.4 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.01778, allocations: 4 kB / 391.4 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.01788, allocations: 59.86 kB / 391.5 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.01789, allocations: 7.984 kB / 391.5 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.01791, allocations: 12 kB / 391.5 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.01792, allocations: 4 kB / 391.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01792, allocations: 4 kB / 391.5 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.01854, allocations: 1.046 MB / 392.6 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.01859, allocations: 51.58 kB / 392.6 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.01864, allocations: 19.98 kB / 392.6 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.01881, allocations: 15.98 kB / 392.6 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.01888, allocations: 47.81 kB / 392.7 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.01892, allocations: 23.98 kB / 392.7 MB, free: 3.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002838/0.0192, allocations: 394.8 kB / 393.1 MB, free: 2.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0192, allocations: 0 / 393.1 MB, free: 2.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004005/0.0196, allocations: 80 kB / 393.2 MB, free: 2.875 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001236/0.02084, allocations: 462.3 kB / 393.6 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.02126, allocations: 232.1 kB / 393.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02126, allocations: 0 / 393.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.02145, allocations: 148.5 kB / 394 MB, free: 2.199 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/0.0224, allocations: 176.2 kB / 394.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.02401, allocations: 0.8667 MB / 395 MB, free: 1.113 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.02414, allocations: 137.9 kB / 395.2 MB, free: 0.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.02432, allocations: 79.39 kB / 395.2 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.02443, allocations: 56.48 kB / 395.3 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.02443, allocations: 0 / 395.3 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of Templates: time 0.01046/0.03489, allocations: 6.236 MB / 401.5 MB, free: 10.69 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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.3522807830013335]