Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00137/0.00137, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001754/0.001754, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.119/1.119, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1544/0.1544, allocations: 32.36 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.652e-05, allocations: 4.281 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003048/0.003084, allocations: 2.294 MB / 350 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.004321, allocations: 1.162 MB / 351.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.004442, allocations: 7.938 kB / 351.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.004869, allocations: 290.9 kB / 351.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.005236, allocations: 282.7 kB / 351.8 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.005628, allocations: 323.3 kB / 352.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.005959, allocations: 0.5295 MB / 352.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.006087, allocations: 33.27 kB / 352.6 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.006293, allocations: 287.2 kB / 352.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.006487, allocations: 243.4 kB / 353.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.00652, allocations: 20 kB / 353.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.98e-05/0.00661, allocations: 63.86 kB / 353.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.006695, allocations: 119.5 kB / 353.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.29e-05/0.006778, allocations: 103.5 kB / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.007071, allocations: 306.8 kB / 353.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.007077, allocations: 0 / 353.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.007078, allocations: 0 / 353.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.007084, allocations: 0 / 353.8 MB, free: 3.316 MB / 282.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.0007199/0.007804, allocations: 0.8069 MB / 354.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.007848, allocations: 8.031 kB / 354.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.211e-05/0.00794, allocations: 68.53 kB / 354.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.008247, allocations: 324.8 kB / 355 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.008272, allocations: 12.36 kB / 355 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.008303, allocations: 16.38 kB / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.008551, allocations: 205.2 kB / 355.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.008565, allocations: 7.891 kB / 355.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.008583, allocations: 8 kB / 355.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.008592, allocations: 4 kB / 355.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.008688, allocations: 67.88 kB / 355.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.009214, allocations: 1.007 MB / 356.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.009458, allocations: 271.6 kB / 356.5 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.009536, allocations: 86.41 kB / 356.6 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.009552, allocations: 4 kB / 356.6 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.009801, allocations: 232 kB / 356.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.009802, allocations: 0 / 356.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001222/0.01102, allocations: 0.9015 MB / 357.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.01108, allocations: 158.2 kB / 357.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.01148, allocations: 0.5456 MB / 358.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.0115, allocations: 37.7 kB / 358.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.01164, allocations: 279.8 kB / 358.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.758e-05/0.01172, allocations: 134.9 kB / 358.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.01179, allocations: 79.84 kB / 359 MB, free: 13.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.01195, allocations: 0.5469 MB / 359.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.01204, allocations: 56.97 kB / 359.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.01217, allocations: 177.7 kB / 359.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.0124, allocations: 253.1 kB / 360 MB, free: 12.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.0124, allocations: 0 / 360 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003454/0.01275, allocations: 341 kB / 360.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01276, allocations: 8 kB / 360.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01277, allocations: 0 / 360.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01278, allocations: 7.938 kB / 360.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.01297, allocations: 83.89 kB / 360.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.01298, allocations: 8.375 kB / 360.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.971e-05/0.01307, allocations: 20.14 kB / 360.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.01309, allocations: 16 kB / 360.5 MB, free: 12.14 MB / 298.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.0001158/0.01321, allocations: 195.1 kB / 360.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.438e-05/0.01327, allocations: 75.62 kB / 360.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.01371, allocations: 405.5 kB / 361.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.01372, allocations: 11.94 kB / 361.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.01373, allocations: 0 / 361.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.01373, allocations: 7.984 kB / 361.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008932/0.01463, allocations: 1.402 MB / 362.6 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01463, allocations: 0 / 362.6 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-05/0.01472, allocations: 51.92 kB / 362.6 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.01472, allocations: 4 kB / 362.6 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.01475, allocations: 19.98 kB / 362.6 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01475, allocations: 4 kB / 362.6 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.01475, allocations: 7.938 kB / 362.7 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.0153, allocations: 1.041 MB / 363.7 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.01533, allocations: 47.67 kB / 363.7 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.01538, allocations: 15.98 kB / 363.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.01554, allocations: 19.98 kB / 363.8 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.0156, allocations: 35.89 kB / 363.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.01564, allocations: 23.98 kB / 363.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002441/0.01588, allocations: 370.8 kB / 364.2 MB, free: 8.301 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01588, allocations: 0 / 364.2 MB, free: 8.301 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003343/0.01621, allocations: 95.81 kB / 364.3 MB, free: 8.207 MB / 298.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.0009631/0.01718, allocations: 462.3 kB / 364.7 MB, free: 7.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.01748, allocations: 232.1 kB / 365 MB, free: 7.621 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01748, allocations: 0 / 365 MB, free: 7.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.01761, allocations: 133 kB / 365.1 MB, free: 7.488 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.01826, allocations: 166.3 kB / 365.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.01957, allocations: 0.8347 MB / 366.1 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.01968, allocations: 133.9 kB / 366.2 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000139/0.01982, allocations: 79.33 kB / 366.3 MB, free: 6.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.01991, allocations: 64.47 kB / 366.4 MB, free: 6.133 MB / 298.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01991, allocations: 0 / 366.4 MB, free: 6.133 MB / 298.7 MB Notification: Performance of Templates: time 0.008527/0.02844, allocations: 6.652 MB / 373 MB, free: 15.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3977229888550937]