Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001049/0.001049, allocations: 89.38 kB / 17.31 MB, free: 5.59 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.001179/0.001179, allocations: 178 kB / 18.21 MB, free: 5.191 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.272/1.272, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8748/0.8748, allocations: 120.5 MB / 413.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003415, allocations: 8 kB / 0.4955 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4869/0.4872, allocations: 82.85 MB / 0.5764 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001181/0.4885, allocations: 1.122 MB / 0.5775 GB, free: 40.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.4893, allocations: 0.5724 MB / 0.5781 GB, free: 40 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.4894, allocations: 5.062 kB / 0.5781 GB, free: 40 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.4895, allocations: 10.64 kB / 0.5781 GB, free: 39.99 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.4897, allocations: 55.86 kB / 0.5782 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.4899, allocations: 60.03 kB / 0.5782 GB, free: 39.92 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 9.623e-05/0.49, allocations: 82.41 kB / 0.5783 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.4901, allocations: 3.188 kB / 0.5783 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.4902, allocations: 45.3 kB / 0.5783 GB, free: 39.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.4903, allocations: 44.81 kB / 0.5784 GB, free: 39.83 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.4903, allocations: 3.469 kB / 0.5784 GB, free: 39.83 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.4904, allocations: 79.14 kB / 0.5785 GB, free: 39.79 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.4905, allocations: 57.53 kB / 0.5785 GB, free: 39.76 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.4906, allocations: 75.44 kB / 0.5786 GB, free: 39.69 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.4907, allocations: 108.4 kB / 0.5787 GB, free: 39.63 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4907, allocations: 0 / 0.5787 GB, free: 39.63 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4908, allocations: 0 / 0.5787 GB, free: 39.63 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.4908, allocations: 1.062 kB / 0.5787 GB, free: 39.63 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.000354/0.4911, allocations: 456 kB / 0.5791 GB, free: 39.16 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.4912, allocations: 13.83 kB / 0.5791 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.4912, allocations: 20.31 kB / 0.5792 GB, free: 39.15 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.4915, allocations: 307.4 kB / 0.5795 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4915, allocations: 9.562 kB / 0.5795 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.4916, allocations: 3.031 kB / 0.5795 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.4917, allocations: 58.95 kB / 0.5795 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.4917, allocations: 5.453 kB / 0.5795 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4917, allocations: 0 / 0.5795 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.4917, allocations: 1.438 kB / 0.5795 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.577e-05/0.4918, allocations: 25.02 kB / 0.5796 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.4919, allocations: 196.5 kB / 0.5797 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 5.405e-05/0.492, allocations: 38.11 kB / 0.5798 GB, free: 38.54 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.492, allocations: 33.67 kB / 0.5798 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.492, allocations: 1.094 kB / 0.5798 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.4922, allocations: 106.5 kB / 0.5799 GB, free: 38.41 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.4922, allocations: 0 / 0.5799 GB, free: 38.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002691/0.4925, allocations: 162.3 kB / 0.5801 GB, free: 38.3 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.4925, allocations: 78.8 kB / 0.5801 GB, free: 38.21 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.4927, allocations: 237.5 kB / 0.5804 GB, free: 38.05 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.4927, allocations: 25.7 kB / 0.5804 GB, free: 38.02 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.4928, allocations: 121.5 kB / 0.5805 GB, free: 37.9 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.4928, allocations: 27.58 kB / 0.5805 GB, free: 37.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.4928, allocations: 12.22 kB / 0.5805 GB, free: 37.86 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.4929, allocations: 333.2 kB / 0.5809 GB, free: 37.54 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.42e-05/0.4929, allocations: 16.72 kB / 0.5809 GB, free: 37.53 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.493, allocations: 25.55 kB / 0.5809 GB, free: 37.51 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.4931, allocations: 106.4 kB / 0.581 GB, free: 37.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4931, allocations: 4 kB / 0.581 GB, free: 37.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001556/0.4932, allocations: 154.2 kB / 0.5812 GB, free: 37.31 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.4933, allocations: 39.06 kB / 0.5812 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4933, allocations: 0 / 0.5812 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4933, allocations: 1.375 kB / 0.5812 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.4934, allocations: 2.75 kB / 0.5812 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4934, allocations: 1.609 kB / 0.5812 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.4934, allocations: 8.031 kB / 0.5812 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.4934, allocations: 5.5 kB / 0.5812 GB, free: 37.27 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 9.985e-05/0.4936, allocations: 176.3 kB / 0.5814 GB, free: 37.11 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.4936, allocations: 21.38 kB / 0.5814 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.4936, allocations: 23.02 kB / 0.5814 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4936, allocations: 0 / 0.5814 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4936, allocations: 0 / 0.5814 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4936, allocations: 1.375 kB / 0.5814 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.4938, allocations: 210.5 kB / 0.5816 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4938, allocations: 0 / 0.5816 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.4938, allocations: 6.688 kB / 0.5816 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4938, allocations: 1.375 kB / 0.5816 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.4938, allocations: 14.73 kB / 0.5816 GB, free: 36.83 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4938, allocations: 5.312 kB / 0.5817 GB, free: 36.83 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4938, allocations: 3.984 kB / 0.5817 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.494, allocations: 189.5 kB / 0.5818 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.4941, allocations: 104.9 kB / 0.5819 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.4941, allocations: 2.719 kB / 0.5819 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.4942, allocations: 3.781 kB / 0.5819 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.4942, allocations: 13.86 kB / 0.582 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4942, allocations: 6.938 kB / 0.582 GB, free: 36.56 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001191/0.4943, allocations: 174.8 kB / 0.5821 GB, free: 36.45 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4943, allocations: 1.594 kB / 0.5821 GB, free: 36.45 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002303/0.4946, allocations: 38.42 kB / 0.5822 GB, free: 36.44 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.0001442/0.4947, allocations: 125.9 kB / 0.5823 GB, free: 36.34 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.4949, allocations: 142.5 kB / 0.5824 GB, free: 36.23 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4949, allocations: 1.406 kB / 0.5824 GB, free: 36.23 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/0.495, allocations: 114.6 kB / 0.5825 GB, free: 36.13 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.4952, allocations: 20.52 kB / 0.5826 GB, free: 36.11 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.4957, allocations: 353.9 kB / 0.5829 GB, free: 35.84 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.4958, allocations: 0.7316 MB / 0.5836 GB, free: 35.12 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.4958, allocations: 14.31 kB / 0.5836 GB, free: 35.11 MB / 462.3 MB Notification: Performance of SimCode: time 3.41e-07/0.4958, allocations: 0 / 0.5836 GB, free: 35.11 MB / 462.3 MB Notification: Performance of Templates: time 0.003638/0.4995, allocations: 2.014 MB / 0.5856 GB, free: 34.08 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches