Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001036/0.001036, allocations: 191 kB / 18.63 MB, free: 4.508 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.264/1.264, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8322/0.8322, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4573, allocations: 80.7 MB / 0.5712 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002286/0.4596, allocations: 1.402 MB / 0.5725 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.4604, allocations: 0.573 MB / 0.5731 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.4605, allocations: 5.375 kB / 0.5731 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.4607, allocations: 227 kB / 0.5733 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.461, allocations: 273.7 kB / 0.5736 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.4613, allocations: 76.8 kB / 0.5737 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.4617, allocations: 0.5974 MB / 0.5742 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.4617, allocations: 7.578 kB / 0.5742 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.462, allocations: 311.7 kB / 0.5745 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004449/0.4625, allocations: 0.5248 MB / 0.5751 GB, free: 41 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.706e-05/0.4626, allocations: 34.81 kB / 0.5751 GB, free: 41 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.4627, allocations: 114.5 kB / 0.5752 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000989/0.4637, allocations: 1.247 MB / 0.5764 GB, free: 40.35 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003652/0.4641, allocations: 0.7307 MB / 0.5771 GB, free: 39.73 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.4653, allocations: 1.622 MB / 0.5787 GB, free: 38.72 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4653, allocations: 4.844 kB / 0.5787 GB, free: 38.72 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4653, allocations: 0 / 0.5787 GB, free: 38.72 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.628e-05/0.4654, allocations: 0 / 0.5787 GB, free: 38.72 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.002624/0.468, allocations: 2.769 MB / 0.5814 GB, free: 36.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.468, allocations: 10.09 kB / 0.5814 GB, free: 36.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.4683, allocations: 292.7 kB / 0.5817 GB, free: 36.38 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00459/0.4729, allocations: 3.321 MB / 0.585 GB, free: 34.36 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.4729, allocations: 5.719 kB / 0.585 GB, free: 34.35 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.473, allocations: 11.22 kB / 0.585 GB, free: 34.35 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.4732, allocations: 142.8 kB / 0.5851 GB, free: 34.29 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4732, allocations: 0 / 0.5851 GB, free: 34.29 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.4732, allocations: 8.688 kB / 0.5851 GB, free: 34.29 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4732, allocations: 5.531 kB / 0.5851 GB, free: 34.28 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.4734, allocations: 79.81 kB / 0.5852 GB, free: 34.27 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.4744, allocations: 1.006 MB / 0.5862 GB, free: 33.6 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.4745, allocations: 69.08 kB / 0.5862 GB, free: 33.56 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.389e-05/0.4746, allocations: 59.95 kB / 0.5863 GB, free: 33.54 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.4746, allocations: 0 / 0.5863 GB, free: 33.54 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.4748, allocations: 186.5 kB / 0.5865 GB, free: 33.41 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.974e-06/0.4749, allocations: 4 kB / 0.5865 GB, free: 33.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0007876/0.4756, allocations: 0.6522 MB / 0.5871 GB, free: 32.96 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.4757, allocations: 81.11 kB / 0.5872 GB, free: 32.87 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/0.4782, allocations: 3.181 MB / 0.5903 GB, free: 29.71 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.4782, allocations: 33.7 kB / 0.5903 GB, free: 29.67 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007158/0.479, allocations: 1.244 MB / 0.5915 GB, free: 28.42 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.479, allocations: 19.81 kB / 0.5916 GB, free: 28.4 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/0.4791, allocations: 73.72 kB / 0.5916 GB, free: 28.32 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.4792, allocations: 318 kB / 0.5919 GB, free: 28.01 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/0.4792, allocations: 48 kB / 0.592 GB, free: 27.96 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.4793, allocations: 59.86 kB / 0.592 GB, free: 27.9 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.4795, allocations: 168.3 kB / 0.5922 GB, free: 27.72 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4795, allocations: 0 / 0.5922 GB, free: 27.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005137/0.48, allocations: 0.6088 MB / 0.5928 GB, free: 27.1 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.48, allocations: 37.69 kB / 0.5928 GB, free: 27.05 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.48, allocations: 0 / 0.5928 GB, free: 27.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4801, allocations: 4 kB / 0.5928 GB, free: 27.05 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.4801, allocations: 4 kB / 0.5928 GB, free: 27.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4801, allocations: 4.234 kB / 0.5928 GB, free: 27.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.4804, allocations: 11.94 kB / 0.5929 GB, free: 27.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.4805, allocations: 116 kB / 0.593 GB, free: 26.92 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 0.0005858/0.4811, allocations: 0.7399 MB / 0.5937 GB, free: 26.16 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.4812, allocations: 304.1 kB / 0.594 GB, free: 25.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.4815, allocations: 333.8 kB / 0.5943 GB, free: 25.53 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4815, allocations: 0 / 0.5943 GB, free: 25.53 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4815, allocations: 0 / 0.5943 GB, free: 25.53 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4815, allocations: 0 / 0.5943 GB, free: 25.53 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007585/0.4823, allocations: 1.093 MB / 0.5954 GB, free: 24.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4823, allocations: 3.984 kB / 0.5954 GB, free: 24.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.4823, allocations: 7.938 kB / 0.5954 GB, free: 24.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4823, allocations: 0 / 0.5954 GB, free: 24.38 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.4824, allocations: 28 kB / 0.5954 GB, free: 24.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4824, allocations: 4 kB / 0.5954 GB, free: 24.35 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4824, allocations: 3.984 kB / 0.5954 GB, free: 24.35 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.4829, allocations: 0.6689 MB / 0.5961 GB, free: 23.65 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.4833, allocations: 341.3 kB / 0.5964 GB, free: 23.3 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.4834, allocations: 8 kB / 0.5964 GB, free: 23.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.4836, allocations: 12 kB / 0.5964 GB, free: 23.28 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.4837, allocations: 3.984 kB / 0.5964 GB, free: 23.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-05/0.4838, allocations: 120 kB / 0.5965 GB, free: 23.16 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001806/0.4856, allocations: 2.207 MB / 0.5987 GB, free: 20.97 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4856, allocations: 0 / 0.5987 GB, free: 20.97 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003515/0.4859, allocations: 108 kB / 0.5988 GB, free: 20.86 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.0001552/0.4861, allocations: 131.7 kB / 0.5989 GB, free: 20.73 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.4864, allocations: 219.3 kB / 0.5991 GB, free: 20.5 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4864, allocations: 0 / 0.5991 GB, free: 20.5 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.4865, allocations: 147.4 kB / 0.5993 GB, free: 20.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006663/0.4872, allocations: 224.6 kB / 0.5995 GB, free: 20.12 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.4908, allocations: 4.16 MB / 0.6035 GB, free: 15.93 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000861/0.4917, allocations: 1.687 MB / 0.6052 GB, free: 14.21 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0009476/0.4927, allocations: 0.6042 MB / 0.6058 GB, free: 13.6 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.4928, allocations: 131.4 kB / 0.6059 GB, free: 13.47 MB / 462.3 MB Notification: Performance of SimCode: time 3.7e-07/0.4928, allocations: 0 / 0.6059 GB, free: 13.47 MB / 462.3 MB Notification: Performance of Templates: time 0.02026/0.5131, allocations: 10.68 MB / 0.6163 GB, free: 2.75 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches