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.0008606/0.0008606, allocations: 87.86 kB / 16.31 MB, free: 6.188 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.001001/0.001001, allocations: 175.6 kB / 17.21 MB, free: 6.016 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.171/1.171, allocations: 223.3 MB / 241.2 MB, free: 14.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7401/0.7401, allocations: 120.5 MB / 412.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002647, allocations: 8 kB / 0.4943 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4043, allocations: 82.84 MB / 0.5752 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001043/0.4054, allocations: 1.101 MB / 0.5762 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.4061, allocations: 0.5267 MB / 0.5767 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.4061, allocations: 2.938 kB / 0.5767 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.4063, allocations: 24.88 kB / 0.5768 GB, free: 39.99 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.4065, allocations: 48.17 kB / 0.5768 GB, free: 39.97 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.4067, allocations: 64.7 kB / 0.5769 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.4068, allocations: 68.31 kB / 0.5769 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.218e-05/0.4068, allocations: 10.73 kB / 0.577 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.4069, allocations: 41.84 kB / 0.577 GB, free: 39.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.407, allocations: 50.34 kB / 0.577 GB, free: 39.83 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.407, allocations: 3.5 kB / 0.577 GB, free: 39.83 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.4071, allocations: 63.94 kB / 0.5771 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.4072, allocations: 64.45 kB / 0.5772 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.4073, allocations: 44.77 kB / 0.5772 GB, free: 39.73 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.4074, allocations: 102.8 kB / 0.5773 GB, free: 39.67 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4074, allocations: 1.188 kB / 0.5773 GB, free: 39.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4074, allocations: 0 / 0.5773 GB, free: 39.67 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.4074, allocations: 0 / 0.5773 GB, free: 39.67 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.0003241/0.4077, allocations: 463.1 kB / 0.5777 GB, free: 39.2 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.4078, allocations: 12.44 kB / 0.5778 GB, free: 39.2 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.4078, allocations: 16.19 kB / 0.5778 GB, free: 39.19 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.4081, allocations: 313.3 kB / 0.5781 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.4081, allocations: 1.031 kB / 0.5781 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.4082, allocations: 2.875 kB / 0.5781 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.692e-05/0.4082, allocations: 54.58 kB / 0.5781 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.4083, allocations: 1.156 kB / 0.5781 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.4083, allocations: 5.219 kB / 0.5781 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.4083, allocations: 3.953 kB / 0.5781 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.4083, allocations: 20.95 kB / 0.5782 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.4085, allocations: 200.6 kB / 0.5784 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/0.4085, allocations: 38.64 kB / 0.5784 GB, free: 38.58 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.4086, allocations: 40.08 kB / 0.5784 GB, free: 38.55 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.4086, allocations: 0 / 0.5784 GB, free: 38.55 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.4087, allocations: 99.42 kB / 0.5785 GB, free: 38.45 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.4087, allocations: 1.281 kB / 0.5785 GB, free: 38.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002344/0.4089, allocations: 165.3 kB / 0.5787 GB, free: 38.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.409, allocations: 86.84 kB / 0.5788 GB, free: 38.24 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.4091, allocations: 235.9 kB / 0.579 GB, free: 38.08 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.4092, allocations: 27.48 kB / 0.579 GB, free: 38.05 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.4092, allocations: 117 kB / 0.5791 GB, free: 37.94 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.4092, allocations: 23.25 kB / 0.5791 GB, free: 37.92 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.4092, allocations: 1.469 kB / 0.5791 GB, free: 37.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.4093, allocations: 331.4 kB / 0.5795 GB, free: 37.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.4093, allocations: 17.28 kB / 0.5795 GB, free: 37.59 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.4093, allocations: 25.42 kB / 0.5795 GB, free: 37.57 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.4094, allocations: 46.73 kB / 0.5796 GB, free: 37.53 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4094, allocations: 0 / 0.5796 GB, free: 37.53 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001481/0.4095, allocations: 144.1 kB / 0.5797 GB, free: 37.43 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4096, allocations: 45.09 kB / 0.5797 GB, free: 37.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.4096, allocations: 0 / 0.5797 GB, free: 37.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.4096, allocations: 0 / 0.5797 GB, free: 37.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.674e-05/0.4097, allocations: 4.375 kB / 0.5797 GB, free: 37.39 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4097, allocations: 5.234 kB / 0.5797 GB, free: 37.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.4097, allocations: 7 kB / 0.5797 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.4097, allocations: 10.56 kB / 0.5798 GB, free: 37.38 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.682e-05/0.4098, allocations: 176.7 kB / 0.5799 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.4099, allocations: 16.75 kB / 0.5799 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.4099, allocations: 18.31 kB / 0.58 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4099, allocations: 1.031 kB / 0.58 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.4099, allocations: 0 / 0.58 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.4099, allocations: 3.953 kB / 0.58 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.49e-05/0.41, allocations: 211.5 kB / 0.5802 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.41, allocations: 3.984 kB / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.41, allocations: 7.562 kB / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.41, allocations: 0 / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4101, allocations: 8 kB / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4101, allocations: 0 / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4101, allocations: 0 / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.4103, allocations: 205.1 kB / 0.5804 GB, free: 36.79 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.4103, allocations: 101.4 kB / 0.5805 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.4103, allocations: 2.844 kB / 0.5805 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.4104, allocations: 8.656 kB / 0.5805 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.4104, allocations: 5.391 kB / 0.5805 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.4104, allocations: 11.38 kB / 0.5805 GB, free: 36.67 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001022/0.4105, allocations: 173 kB / 0.5807 GB, free: 36.55 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4105, allocations: 0 / 0.5807 GB, free: 36.55 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002135/0.4108, allocations: 29.59 kB / 0.5807 GB, free: 36.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.4109, allocations: 119.3 kB / 0.5808 GB, free: 36.46 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.411, allocations: 145.7 kB / 0.5809 GB, free: 36.35 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.411, allocations: 4 kB / 0.581 GB, free: 36.34 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.54e-05/0.4111, allocations: 114.9 kB / 0.5811 GB, free: 36.25 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.4113, allocations: 16.88 kB / 0.5811 GB, free: 36.23 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.4116, allocations: 308.5 kB / 0.5814 GB, free: 36.01 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.4118, allocations: 0.7239 MB / 0.5821 GB, free: 35.29 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.519e-05/0.4118, allocations: 31.38 kB / 0.5821 GB, free: 35.28 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.4118, allocations: 14.31 kB / 0.5821 GB, free: 35.27 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4119, allocations: 3.938 kB / 0.5821 GB, free: 35.27 MB / 462.3 MB Notification: Performance of Templates: time 0.003261/0.4151, allocations: 1.276 MB / 0.5834 GB, free: 34.62 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