Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001199, allocations: 101.3 kB / 16.5 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 197.4 kB / 17.42 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 222.9 MB / 241.1 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8111/0.8111, allocations: 119.3 MB / 410.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 59.91 kB / 0.4903 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.4969, allocations: 80.68 MB / 0.569 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002136/0.4991, allocations: 1.455 MB / 0.5705 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007961/0.4999, allocations: 0.5884 MB / 0.571 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.5, allocations: 1.062 kB / 0.571 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.5001, allocations: 10.27 kB / 0.571 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.5004, allocations: 63.83 kB / 0.5711 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.5006, allocations: 56.69 kB / 0.5712 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.5007, allocations: 82.12 kB / 0.5712 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.5007, allocations: 7.328 kB / 0.5712 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.191e-05/0.5008, allocations: 43.77 kB / 0.5713 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.5009, allocations: 42.97 kB / 0.5713 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.5009, allocations: 1.938 kB / 0.5713 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.5011, allocations: 80.58 kB / 0.5714 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.866e-05/0.5012, allocations: 60.78 kB / 0.5715 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.5012, allocations: 45.7 kB / 0.5715 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.5014, allocations: 149.6 kB / 0.5717 GB, free: 41.01 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5014, allocations: 1.125 kB / 0.5717 GB, free: 41.01 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.22e-07/0.5014, allocations: 0 / 0.5717 GB, free: 41.01 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.5014, allocations: 4 kB / 0.5717 GB, free: 41 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003945/0.5018, allocations: 473.8 kB / 0.5721 GB, free: 40.53 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.5019, allocations: 8.875 kB / 0.5721 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.5019, allocations: 17.44 kB / 0.5721 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.5022, allocations: 310.8 kB / 0.5724 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.5022, allocations: 1.812 kB / 0.5724 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.5023, allocations: 3.188 kB / 0.5724 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.5024, allocations: 58.73 kB / 0.5725 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.5024, allocations: 1.062 kB / 0.5725 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5024, allocations: 8.969 kB / 0.5725 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5024, allocations: 4 kB / 0.5725 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.188e-05/0.5025, allocations: 25.58 kB / 0.5725 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.5026, allocations: 200.1 kB / 0.5727 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 5.931e-05/0.5027, allocations: 38.83 kB / 0.5728 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.5027, allocations: 33.33 kB / 0.5728 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.5028, allocations: 9.062 kB / 0.5728 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.5029, allocations: 101.9 kB / 0.5729 GB, free: 39.77 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.5029, allocations: 0 / 0.5729 GB, free: 39.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002631/0.5032, allocations: 167.4 kB / 0.5731 GB, free: 39.67 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.5032, allocations: 79.86 kB / 0.5731 GB, free: 39.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.5034, allocations: 228.1 kB / 0.5733 GB, free: 39.42 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.5034, allocations: 39.09 kB / 0.5734 GB, free: 39.38 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.5034, allocations: 115.9 kB / 0.5735 GB, free: 39.27 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.5035, allocations: 23.66 kB / 0.5735 GB, free: 39.25 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.5035, allocations: 22.56 kB / 0.5735 GB, free: 39.23 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.5036, allocations: 329.8 kB / 0.5739 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.5036, allocations: 16.53 kB / 0.5739 GB, free: 38.9 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/0.5036, allocations: 18.08 kB / 0.5739 GB, free: 38.89 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.161e-05/0.5037, allocations: 110.1 kB / 0.574 GB, free: 38.79 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5037, allocations: 0 / 0.574 GB, free: 38.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001489/0.5039, allocations: 148.8 kB / 0.5741 GB, free: 38.69 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.5039, allocations: 40.56 kB / 0.5742 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5039, allocations: 5.375 kB / 0.5742 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.5039, allocations: 96 / 0.5742 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.099e-05/0.504, allocations: 8.062 kB / 0.5742 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.504, allocations: 0 / 0.5742 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.5041, allocations: 4.125 kB / 0.5742 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.5041, allocations: 5.5 kB / 0.5742 GB, free: 38.64 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.862e-05/0.5042, allocations: 173.6 kB / 0.5744 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.5042, allocations: 25.28 kB / 0.5744 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.5042, allocations: 21.64 kB / 0.5744 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.5042, allocations: 4 kB / 0.5744 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5043, allocations: 1.375 kB / 0.5744 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5043, allocations: 0 / 0.5744 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.586e-05/0.5044, allocations: 209.9 kB / 0.5746 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5044, allocations: 5.438 kB / 0.5746 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.5044, allocations: 10.5 kB / 0.5746 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.5044, allocations: 0 / 0.5746 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.5044, allocations: 12.25 kB / 0.5746 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5044, allocations: 0 / 0.5746 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5044, allocations: 0 / 0.5746 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.5046, allocations: 198.6 kB / 0.5748 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.5047, allocations: 104.8 kB / 0.5749 GB, free: 37.94 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.5047, allocations: 2.75 kB / 0.5749 GB, free: 37.94 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.5048, allocations: 6.906 kB / 0.5749 GB, free: 37.94 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.5048, allocations: 1.281 kB / 0.5749 GB, free: 37.94 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.5048, allocations: 15.77 kB / 0.575 GB, free: 37.93 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000107/0.5049, allocations: 171.3 kB / 0.5751 GB, free: 37.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5049, allocations: 0 / 0.5751 GB, free: 37.82 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002195/0.5052, allocations: 42.14 kB / 0.5752 GB, free: 37.8 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.000132/0.5053, allocations: 123.8 kB / 0.5753 GB, free: 37.71 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.5055, allocations: 142.4 kB / 0.5754 GB, free: 37.6 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5055, allocations: 0 / 0.5754 GB, free: 37.6 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.5055, allocations: 110.5 kB / 0.5755 GB, free: 37.5 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.5057, allocations: 17.3 kB / 0.5755 GB, free: 37.49 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.5062, allocations: 337.8 kB / 0.5759 GB, free: 37.24 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.5063, allocations: 0.7239 MB / 0.5766 GB, free: 36.52 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.73e-05/0.5064, allocations: 22.14 kB / 0.5766 GB, free: 36.51 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.5064, allocations: 18.22 kB / 0.5766 GB, free: 36.5 MB / 462.3 MB Notification: Performance of SimCode: time 2.01e-07/0.5064, allocations: 0 / 0.5766 GB, free: 36.5 MB / 462.3 MB Notification: Performance of Templates: time 0.003547/0.51, allocations: 1.299 MB / 0.5779 GB, free: 35.85 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches