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.001194/0.001194, allocations: 80.41 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.001063/0.001063, allocations: 174.4 kB / 25.61 MB, free: 8.902 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.931/0.931, allocations: 177.1 MB / 206 MB, free: 4.492 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.1631/0.1631, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.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.353e-06/1.353e-06, allocations: 0 / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.939e-05, allocations: 5.547 kB / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00234/0.002359, allocations: 2.311 MB / 379.7 MB, free: 23.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.003906, allocations: 1.365 MB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.004055, allocations: 7.938 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.004478, allocations: 286.8 kB / 381.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.004971, allocations: 354.4 kB / 381.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.005369, allocations: 223.3 kB / 381.9 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.005806, allocations: 0.5724 MB / 382.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.005924, allocations: 37.28 kB / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.006196, allocations: 299.1 kB / 382.8 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.006417, allocations: 259.3 kB / 383 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.006452, allocations: 20 kB / 383 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.671e-05/0.006549, allocations: 59.92 kB / 383.1 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.7e-05/0.006636, allocations: 127.4 kB / 383.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.006711, allocations: 103.6 kB / 383.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.006973, allocations: 326.5 kB / 383.7 MB, free: 19.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.006975, allocations: 0 / 383.7 MB, free: 19.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.006976, allocations: 0 / 383.7 MB, free: 19.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.006983, allocations: 0 / 383.7 MB, free: 19.19 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006542/0.007638, allocations: 0.8379 MB / 384.5 MB, free: 18.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.007671, allocations: 12.03 kB / 384.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.007752, allocations: 68.55 kB / 384.6 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.00803, allocations: 351.2 kB / 384.9 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.008051, allocations: 8.375 kB / 384.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.008078, allocations: 24.31 kB / 384.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.008266, allocations: 198.2 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.008279, allocations: 3.938 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.008294, allocations: 11.98 kB / 385.2 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.008299, allocations: 0 / 385.2 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.008368, allocations: 51.88 kB / 385.2 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.008821, allocations: 0.9489 MB / 386.2 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.009047, allocations: 267.6 kB / 386.4 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/0.009111, allocations: 82.34 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.009128, allocations: 8 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.0093, allocations: 203.2 kB / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.133e-06/0.009302, allocations: 0 / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.000835/0.01014, allocations: 0.5642 MB / 387.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.01018, allocations: 170.1 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.01046, allocations: 0.557 MB / 388 MB, free: 14.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.01048, allocations: 33.7 kB / 388 MB, free: 14.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.738e-05/0.01058, allocations: 299.6 kB / 388.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.01064, allocations: 127 kB / 388.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.0107, allocations: 87.81 kB / 388.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.01078, allocations: 0.5546 MB / 389.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.01084, allocations: 48.95 kB / 389.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.01092, allocations: 161.7 kB / 389.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.01106, allocations: 225 kB / 389.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01106, allocations: 4.562 kB / 389.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002706/0.01133, allocations: 325 kB / 389.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.01135, allocations: 4 kB / 389.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01135, allocations: 4 kB / 389.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.01137, allocations: 4 kB / 389.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.01152, allocations: 87.78 kB / 389.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01152, allocations: 7.984 kB / 389.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.18e-05/0.01162, allocations: 20.16 kB / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.01163, allocations: 23.92 kB / 390 MB, free: 12.43 MB / 314.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 9.323e-05/0.01173, allocations: 191.1 kB / 390.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.01178, allocations: 79.56 kB / 390.2 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.01213, allocations: 382.4 kB / 390.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01213, allocations: 4 kB / 390.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.01214, allocations: 3.938 kB / 390.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.01214, allocations: 7.984 kB / 390.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000649/0.01279, allocations: 1.309 MB / 391.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.0128, allocations: 4 kB / 391.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.372e-05/0.01288, allocations: 59.91 kB / 392 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01288, allocations: 4 kB / 392 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.0129, allocations: 12 kB / 392 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.0129, allocations: 4 kB / 392 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.0129, allocations: 4.062 kB / 392 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.01328, allocations: 1.03 MB / 393.1 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.01331, allocations: 47.62 kB / 393.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.01336, allocations: 19.98 kB / 393.1 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.01353, allocations: 15.98 kB / 393.1 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.01358, allocations: 43.81 kB / 393.2 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.0136, allocations: 19.98 kB / 393.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.01376, allocations: 366.7 kB / 393.6 MB, free: 8.719 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01376, allocations: 0 / 393.6 MB, free: 8.719 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003493/0.01411, allocations: 83.94 kB / 393.6 MB, free: 8.637 MB / 314.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.0008601/0.01497, allocations: 454.5 kB / 394.1 MB, free: 8.359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.01519, allocations: 212 kB / 394.3 MB, free: 8.148 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01519, allocations: 0 / 394.3 MB, free: 8.148 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.657e-05/0.01529, allocations: 125.5 kB / 394.4 MB, free: 8.023 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.0159, allocations: 170 kB / 394.6 MB, free: 7.871 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009843/0.01689, allocations: 0.8452 MB / 395.4 MB, free: 6.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.574e-05/0.01696, allocations: 153.6 kB / 395.6 MB, free: 6.781 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000135/0.0171, allocations: 83.39 kB / 395.7 MB, free: 6.695 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.01727, allocations: 182.1 kB / 395.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01727, allocations: 0 / 395.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of Templates: time 0.00838/0.02565, allocations: 6.976 MB / 402.8 MB, free: 15.67 MB / 330.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.3607873511500657]