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.001312/0.001312, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001058/0.001058, allocations: 174.8 kB / 24.91 MB, free: 8.734 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.9966/0.9966, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2464/0.2464, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.293e-06/1.293e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.264e-05, allocations: 3.016 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003032/0.003055, allocations: 2.312 MB / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.004887, allocations: 1.388 MB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.005048, allocations: 7.938 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.005478, allocations: 294.8 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.006005, allocations: 346.4 kB / 327.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.006416, allocations: 223.5 kB / 327.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005645/0.00698, allocations: 0.5684 MB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.007093, allocations: 45.23 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.007411, allocations: 299.2 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.007635, allocations: 231.4 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.007668, allocations: 24 kB / 329 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.007769, allocations: 59.92 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.007864, allocations: 123.5 kB / 329.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.096e-05/0.007945, allocations: 103.6 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.008248, allocations: 330.5 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.00825, allocations: 4 kB / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.008251, allocations: 0 / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.008256, allocations: 0 / 329.6 MB, free: 3.281 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006319/0.008888, allocations: 0.6955 MB / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.008918, allocations: 11.98 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.008981, allocations: 44.89 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.009284, allocations: 337.7 kB / 330.7 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.009304, allocations: 12.38 kB / 330.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/0.009584, allocations: 24.31 kB / 330.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.009772, allocations: 186.4 kB / 330.9 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.009784, allocations: 11.88 kB / 330.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.009796, allocations: 4 kB / 330.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.009802, allocations: 4 kB / 330.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.978e-05/0.009872, allocations: 62.03 kB / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.01031, allocations: 0.6189 MB / 331.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.01055, allocations: 430.3 kB / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.01061, allocations: 60.27 kB / 332.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.01062, allocations: 8 kB / 332.1 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.01078, allocations: 194.2 kB / 332.3 MB, free: 400 kB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.01078, allocations: 0 / 332.3 MB, free: 400 kB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006097/0.01139, allocations: 463.4 kB / 332.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.01145, allocations: 169.9 kB / 332.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.01174, allocations: 0.4968 MB / 333.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.01177, allocations: 33.7 kB / 333.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.01183, allocations: 158.2 kB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.01189, allocations: 127 kB / 333.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.01196, allocations: 74.16 kB / 333.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.01205, allocations: 382.6 kB / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.245e-05/0.0121, allocations: 39.81 kB / 334.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.01218, allocations: 121.5 kB / 334.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.01233, allocations: 206.8 kB / 334.5 MB, free: 14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01233, allocations: 4 kB / 334.5 MB, free: 14 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002157/0.01255, allocations: 239.4 kB / 334.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01256, allocations: 8 kB / 334.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01257, allocations: 0 / 334.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01258, allocations: 4 kB / 334.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.01273, allocations: 85.45 kB / 334.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.01274, allocations: 4 kB / 334.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.198e-05/0.01283, allocations: 32.08 kB / 334.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.01284, allocations: 12 kB / 334.9 MB, free: 13.61 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.659e-05/0.01294, allocations: 143.2 kB / 335 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.01299, allocations: 47.95 kB / 335.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.01325, allocations: 270.5 kB / 335.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01326, allocations: 4 kB / 335.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.01326, allocations: 7.938 kB / 335.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01327, allocations: 3.984 kB / 335.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.0139, allocations: 1.097 MB / 336.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.0139, allocations: 0 / 336.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-05/0.01399, allocations: 55.91 kB / 336.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.01399, allocations: 4 kB / 336.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.01401, allocations: 16 kB / 336.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.01401, allocations: 7.984 kB / 336.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.01402, allocations: 4 kB / 336.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.01437, allocations: 0.8506 MB / 337.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.01442, allocations: 51.61 kB / 337.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.01446, allocations: 19.98 kB / 337.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.01461, allocations: 15.98 kB / 337.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.01466, allocations: 47.81 kB / 337.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.01468, allocations: 19.94 kB / 337.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003014/0.01498, allocations: 251.2 kB / 337.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01499, allocations: 0 / 337.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000327/0.01531, allocations: 91.89 kB / 337.9 MB, free: 10.52 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.001215/0.01653, allocations: 0.5921 MB / 338.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.01676, allocations: 197.5 kB / 338.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.01677, allocations: 12 kB / 338.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.01686, allocations: 108.7 kB / 338.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/0.01739, allocations: 162.7 kB / 339 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.01842, allocations: 0.8391 MB / 339.8 MB, free: 8.871 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.803e-05/0.01851, allocations: 137.9 kB / 339.9 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.01863, allocations: 83.33 kB / 340 MB, free: 8.633 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.0188, allocations: 147.3 kB / 340.2 MB, free: 8.488 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.0188, allocations: 0 / 340.2 MB, free: 8.488 MB / 314.7 MB Notification: Performance of Templates: time 0.007759/0.02656, allocations: 6.78 MB / 346.9 MB, free: 1.836 MB / 314.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.069976408034563]