Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.001001/0.001001, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001125/0.001125, allocations: 168.4 kB / 24.91 MB, free: 8.262 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.9135/0.9135, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.542/0.542, allocations: 88.09 MB / 349.9 MB, free: 14.14 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.553e-05, allocations: 9.203 kB / 398.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003033/0.003059, allocations: 1.603 MB / 400.4 MB, free: 12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.004725, allocations: 1.029 MB / 401.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.004808, allocations: 0 / 401.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.005123, allocations: 55.69 kB / 401.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.005619, allocations: 167.3 kB / 401.6 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.005811, allocations: 71.67 kB / 401.7 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.006036, allocations: 139.5 kB / 401.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.006076, allocations: 7.984 kB / 401.8 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.006451, allocations: 167.6 kB / 402 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.006526, allocations: 43.89 kB / 402 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.006545, allocations: 4 kB / 402 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.122e-05/0.006626, allocations: 39.84 kB / 402.1 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.006729, allocations: 67.83 kB / 402.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.006774, allocations: 23.86 kB / 402.2 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.00699, allocations: 135.4 kB / 402.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.006993, allocations: 0 / 402.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006994, allocations: 0 / 402.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.006998, allocations: 0 / 402.3 MB, free: 10.05 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004599/0.007458, allocations: 400.1 kB / 402.7 MB, free: 9.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.00749, allocations: 11.97 kB / 402.7 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.007531, allocations: 16.92 kB / 402.7 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.007825, allocations: 229.8 kB / 403 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.007842, allocations: 4.375 kB / 403 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.007853, allocations: 384 / 403 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.007973, allocations: 61.77 kB / 403 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.00798, allocations: 3.938 kB / 403 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.007987, allocations: 0 / 403 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.007993, allocations: 4 kB / 403 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.848e-05/0.008021, allocations: 4 kB / 403 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.008129, allocations: 78.69 kB / 403.1 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.327e-05/0.008223, allocations: 37.38 kB / 403.1 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.008249, allocations: 12.86 kB / 403.2 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.00826, allocations: 4 kB / 403.2 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.771e-05/0.008358, allocations: 58.2 kB / 403.2 MB, free: 9.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.00836, allocations: 0 / 403.2 MB, free: 9.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001372/0.008497, allocations: 69.61 kB / 403.3 MB, free: 8.977 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.008533, allocations: 63.33 kB / 403.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.008763, allocations: 256.7 kB / 403.6 MB, free: 8.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.008779, allocations: 25.7 kB / 403.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.008828, allocations: 108.7 kB / 403.7 MB, free: 8.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.008859, allocations: 19.88 kB / 403.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.008895, allocations: 17.72 kB / 403.8 MB, free: 8.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.008997, allocations: 334.8 kB / 404.1 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.009016, allocations: 6.828 kB / 404.1 MB, free: 8.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.009042, allocations: 21.66 kB / 404.1 MB, free: 8.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.379e-05/0.009096, allocations: 47.28 kB / 404.2 MB, free: 8.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009098, allocations: 0 / 404.2 MB, free: 8.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.705e-05/0.009195, allocations: 60.5 kB / 404.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.00921, allocations: 7.984 kB / 404.2 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.009216, allocations: 4 kB / 404.2 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.009228, allocations: 0 / 404.2 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.009296, allocations: 15.88 kB / 404.2 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.009298, allocations: 320 / 404.2 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.009342, allocations: 4 kB / 404.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.00935, allocations: 8 kB / 404.3 MB, free: 7.918 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.924e-05/0.009429, allocations: 120.7 kB / 404.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.009452, allocations: 11.98 kB / 404.4 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.009565, allocations: 75.09 kB / 404.5 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.009568, allocations: 4 kB / 404.5 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.009571, allocations: 3.938 kB / 404.5 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.009573, allocations: 0 / 404.5 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.009698, allocations: 105.7 kB / 404.6 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009699, allocations: 0 / 404.6 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.009725, allocations: 4 kB / 404.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.00973, allocations: 7.984 kB / 404.6 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.009737, allocations: 8 kB / 404.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.009739, allocations: 160 / 404.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.00974, allocations: 0 / 404.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.009843, allocations: 86.7 kB / 404.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.009882, allocations: 19.86 kB / 404.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.009907, allocations: 7.984 kB / 404.7 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.009945, allocations: 4 kB / 404.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.009971, allocations: 3.938 kB / 404.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.009985, allocations: 7.984 kB / 404.7 MB, free: 7.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.0101, allocations: 103.4 kB / 404.8 MB, free: 7.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0101, allocations: 0 / 404.8 MB, free: 7.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002163/0.01032, allocations: 24 kB / 404.8 MB, free: 7.277 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00116/0.01148, allocations: 0.5098 MB / 405.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.01161, allocations: 40.83 kB / 405.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.01162, allocations: 0 / 405.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.876e-05/0.01165, allocations: 20.8 kB / 405.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.01182, allocations: 40.69 kB / 405.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.0122, allocations: 300.3 kB / 405.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.671e-05/0.01225, allocations: 87.83 kB / 405.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.073e-05/0.01231, allocations: 29.61 kB / 405.9 MB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.01238, allocations: 75.38 kB / 405.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01238, allocations: 4 kB / 405.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of Templates: time 0.003518/0.0159, allocations: 1.997 MB / 407.9 MB, free: 4.41 MB / 378.7 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0618186770007014]