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.001115/0.001115, allocations: 97.03 kB / 16.3 MB, free: 5.656 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.00124/0.00124, allocations: 183.8 kB / 17.2 MB, free: 5.59 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.28/1.28, allocations: 223.2 MB / 241.1 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8952/0.8952, allocations: 120.5 MB / 412.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 8 kB / 0.4942 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5022/0.5026, allocations: 82.83 MB / 0.5751 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001231/0.5039, allocations: 1.096 MB / 0.5761 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006658/0.5045, allocations: 0.5191 MB / 0.5766 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.5046, allocations: 5.156 kB / 0.5766 GB, free: 40.1 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.5047, allocations: 11.61 kB / 0.5767 GB, free: 40.1 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.5049, allocations: 64.98 kB / 0.5767 GB, free: 40.06 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.5052, allocations: 60.3 kB / 0.5768 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.5052, allocations: 55.58 kB / 0.5768 GB, free: 39.99 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.5053, allocations: 2.281 kB / 0.5768 GB, free: 39.99 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.5054, allocations: 48.09 kB / 0.5769 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.5055, allocations: 44.8 kB / 0.5769 GB, free: 39.94 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.5055, allocations: 7.531 kB / 0.5769 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.941e-05/0.5056, allocations: 67.88 kB / 0.577 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.5057, allocations: 56.97 kB / 0.577 GB, free: 39.87 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.5057, allocations: 47.88 kB / 0.5771 GB, free: 39.82 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.5059, allocations: 103.9 kB / 0.5772 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.5059, allocations: 0 / 0.5772 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.173e-06/0.5059, allocations: 0 / 0.5772 GB, free: 39.77 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.5059, allocations: 1 kB / 0.5772 GB, free: 39.77 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.0003402/0.5062, allocations: 461.7 kB / 0.5776 GB, free: 39.3 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.5063, allocations: 9.406 kB / 0.5776 GB, free: 39.3 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.5063, allocations: 16.56 kB / 0.5777 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.5066, allocations: 309 kB / 0.5779 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.5067, allocations: 1.344 kB / 0.5779 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.5067, allocations: 10.34 kB / 0.578 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.415e-05/0.5068, allocations: 46.78 kB / 0.578 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.5068, allocations: 1.281 kB / 0.578 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.5068, allocations: 3.953 kB / 0.578 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5068, allocations: 0.9688 kB / 0.578 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.704e-05/0.5069, allocations: 24.73 kB / 0.578 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.507, allocations: 196.8 kB / 0.5782 GB, free: 38.72 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.5071, allocations: 41.67 kB / 0.5783 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.5071, allocations: 5.219 kB / 0.5783 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.5072, allocations: 97.47 kB / 0.5784 GB, free: 38.58 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.5072, allocations: 5.031 kB / 0.5784 GB, free: 38.58 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002644/0.5075, allocations: 242.3 kB / 0.5786 GB, free: 38.38 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.5075, allocations: 88.75 kB / 0.5787 GB, free: 38.28 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.5077, allocations: 230.7 kB / 0.5789 GB, free: 38.12 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.5077, allocations: 28.08 kB / 0.5789 GB, free: 38.09 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.5077, allocations: 120.8 kB / 0.579 GB, free: 37.98 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.5078, allocations: 27.58 kB / 0.5791 GB, free: 37.95 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.5078, allocations: 0 / 0.5791 GB, free: 37.95 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.5078, allocations: 334 kB / 0.5794 GB, free: 37.62 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.5079, allocations: 12.06 kB / 0.5794 GB, free: 37.62 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.5079, allocations: 22.27 kB / 0.5794 GB, free: 37.61 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.153e-05/0.508, allocations: 49.55 kB / 0.5795 GB, free: 37.56 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.508, allocations: 0 / 0.5795 GB, free: 37.56 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00014/0.5081, allocations: 145.2 kB / 0.5796 GB, free: 37.46 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.5081, allocations: 47.66 kB / 0.5796 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.5081, allocations: 0 / 0.5796 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.5082, allocations: 0 / 0.5796 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.164e-05/0.5082, allocations: 4.469 kB / 0.5797 GB, free: 37.42 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5082, allocations: 3.953 kB / 0.5797 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.5083, allocations: 10.95 kB / 0.5797 GB, free: 37.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.5083, allocations: 6.625 kB / 0.5797 GB, free: 37.41 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.955e-05/0.5084, allocations: 169.2 kB / 0.5798 GB, free: 37.25 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.5084, allocations: 21.44 kB / 0.5799 GB, free: 37.24 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.5085, allocations: 25.64 kB / 0.5799 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5085, allocations: 1.375 kB / 0.5799 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5085, allocations: 0 / 0.5799 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.5085, allocations: 3.953 kB / 0.5799 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.303e-05/0.5086, allocations: 206.6 kB / 0.5801 GB, free: 36.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5086, allocations: 5.375 kB / 0.5801 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.5086, allocations: 2.75 kB / 0.5801 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5086, allocations: 11.86 kB / 0.5801 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.5086, allocations: 4.125 kB / 0.5801 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5086, allocations: 0 / 0.5801 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5086, allocations: 0 / 0.5801 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.5088, allocations: 200.8 kB / 0.5803 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.5089, allocations: 101.2 kB / 0.5804 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.5089, allocations: 4.125 kB / 0.5804 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.509, allocations: 6.734 kB / 0.5804 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.509, allocations: 1.375 kB / 0.5804 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.509, allocations: 12.25 kB / 0.5804 GB, free: 36.71 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001339/0.5092, allocations: 172.6 kB / 0.5806 GB, free: 36.59 MB / 462.3 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5092, allocations: 4 kB / 0.5806 GB, free: 36.59 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002298/0.5094, allocations: 34.47 kB / 0.5806 GB, free: 36.58 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.0001315/0.5096, allocations: 118.4 kB / 0.5807 GB, free: 36.49 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.5097, allocations: 146.7 kB / 0.5809 GB, free: 36.38 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5097, allocations: 0 / 0.5809 GB, free: 36.38 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.5098, allocations: 110 kB / 0.581 GB, free: 36.28 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.51, allocations: 20.25 kB / 0.581 GB, free: 36.27 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.5104, allocations: 311.8 kB / 0.5813 GB, free: 36.04 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.5105, allocations: 0.7298 MB / 0.582 GB, free: 35.32 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.805e-05/0.5106, allocations: 30.22 kB / 0.582 GB, free: 35.3 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.5106, allocations: 14.25 kB / 0.582 GB, free: 35.29 MB / 462.3 MB Notification: Performance of SimCode: time 3e-07/0.5106, allocations: 0 / 0.582 GB, free: 35.29 MB / 462.3 MB Notification: Performance of Templates: time 0.003401/0.514, allocations: 1.269 MB / 0.5833 GB, free: 34.66 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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