Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001376/0.001376, allocations: 80.8 kB / 21.5 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.001583/0.001583, allocations: 170 kB / 24.91 MB, free: 9.156 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.8951/0.8951, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.5298/0.5298, allocations: 88.08 MB / 349.9 MB, free: 14.16 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_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.241e-05, allocations: 7.094 kB / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.001897/0.001909, allocations: 1.59 MB / 400.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.003057, allocations: 1.036 MB / 401.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.003123, allocations: 3.938 kB / 401.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.003369, allocations: 59.67 kB / 401.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.003727, allocations: 159.3 kB / 401.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.003849, allocations: 75.66 kB / 401.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.003991, allocations: 135.5 kB / 401.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.138e-05/0.004023, allocations: 11.98 kB / 401.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.00429, allocations: 171.6 kB / 402 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.004344, allocations: 47.81 kB / 402.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.004357, allocations: 4 kB / 402.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.647e-05/0.004413, allocations: 27.98 kB / 402.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.00448, allocations: 71.81 kB / 402.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.00451, allocations: 19.88 kB / 402.2 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.004664, allocations: 139.3 kB / 402.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.004665, allocations: 0 / 402.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004666, allocations: 0 / 402.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.004669, allocations: 0 / 402.3 MB, free: 10.07 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.0003251/0.004994, allocations: 396.1 kB / 402.7 MB, free: 9.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.005023, allocations: 12.03 kB / 402.7 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.005055, allocations: 16.92 kB / 402.7 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.005258, allocations: 229.8 kB / 402.9 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.005271, allocations: 384 / 402.9 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.005283, allocations: 12.3 kB / 403 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/0.00537, allocations: 61.77 kB / 403 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.005377, allocations: 3.938 kB / 403 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.005383, allocations: 0 / 403 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.005387, allocations: 0 / 403 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.005407, allocations: 4 kB / 403 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.644e-05/0.005493, allocations: 74.69 kB / 403.1 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.005565, allocations: 45.42 kB / 403.1 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.005583, allocations: 12.86 kB / 403.2 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.005592, allocations: 3.938 kB / 403.2 MB, free: 9.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.853e-05/0.005661, allocations: 58.22 kB / 403.2 MB, free: 9.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.005662, allocations: 0 / 403.2 MB, free: 9.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001013/0.005763, allocations: 61.67 kB / 403.3 MB, free: 8.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.005792, allocations: 59.33 kB / 403.3 MB, free: 8.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.005938, allocations: 264.7 kB / 403.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.00595, allocations: 29.64 kB / 403.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.005983, allocations: 108.8 kB / 403.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.006007, allocations: 15.88 kB / 403.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.006032, allocations: 21.72 kB / 403.8 MB, free: 8.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.594e-05/0.006108, allocations: 338.7 kB / 404.1 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.006121, allocations: 6.828 kB / 404.1 MB, free: 8.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.00614, allocations: 21.7 kB / 404.1 MB, free: 8.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.006177, allocations: 35.36 kB / 404.2 MB, free: 8.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006179, allocations: 0 / 404.2 MB, free: 8.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.921e-05/0.006238, allocations: 64.44 kB / 404.2 MB, free: 7.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.006248, allocations: 12.02 kB / 404.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.006252, allocations: 0 / 404.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.006261, allocations: 4 kB / 404.2 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.97e-05/0.006301, allocations: 12.25 kB / 404.2 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.006303, allocations: 0 / 404.2 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.00633, allocations: 0 / 404.2 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.006336, allocations: 12 kB / 404.3 MB, free: 7.93 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 6.14e-05/0.006397, allocations: 120.6 kB / 404.4 MB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.006411, allocations: 11.98 kB / 404.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.031e-05/0.006492, allocations: 67.17 kB / 404.5 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006493, allocations: 4 kB / 404.5 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.006495, allocations: 3.938 kB / 404.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006498, allocations: 0 / 404.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.463e-05/0.006573, allocations: 109.7 kB / 404.6 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006574, allocations: 0 / 404.6 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.006586, allocations: 7.984 kB / 404.6 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006587, allocations: 0 / 404.6 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.006593, allocations: 4 kB / 404.6 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.006595, allocations: 7.938 kB / 404.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006595, allocations: 160 / 404.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.93e-05/0.006655, allocations: 86.7 kB / 404.7 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.006682, allocations: 27.84 kB / 404.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.006698, allocations: 7.984 kB / 404.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.825e-05/0.006716, allocations: 0 / 404.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.006736, allocations: 7.984 kB / 404.7 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.006744, allocations: 3.984 kB / 404.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.017e-05/0.006814, allocations: 103.4 kB / 404.8 MB, free: 7.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006814, allocations: 0 / 404.8 MB, free: 7.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001112/0.006926, allocations: 20 kB / 404.8 MB, free: 7.293 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.0009617/0.007887, allocations: 0.5063 MB / 405.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.881e-05/0.007956, allocations: 37.41 kB / 405.4 MB, free: 7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.007961, allocations: 4 kB / 405.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.007983, allocations: 12.86 kB / 405.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.008109, allocations: 47.19 kB / 405.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.008453, allocations: 308.2 kB / 405.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.519e-05/0.008498, allocations: 87.83 kB / 405.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.008555, allocations: 33.59 kB / 405.9 MB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.008632, allocations: 71.38 kB / 405.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.008633, allocations: 0 / 405.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of Templates: time 0.003785/0.01242, allocations: 2.007 MB / 407.9 MB, free: 4.414 MB / 378.7 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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: 2.910139570944011]