Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001577/0.001577, allocations: 106.3 kB / 16.92 MB, free: 6.332 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.001629/0.001629, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.579/1.579, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.376/1.376, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002007, allocations: 63.91 kB / 0.491 GB, free: 13.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7559/0.7579, allocations: 80.69 MB / 0.5698 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.003107/0.7611, allocations: 1.403 MB / 0.5711 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.7622, allocations: 0.5653 MB / 0.5717 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.7622, allocations: 5.344 kB / 0.5717 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.7626, allocations: 231.7 kB / 0.5719 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.763, allocations: 272.9 kB / 0.5722 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.7633, allocations: 80.8 kB / 0.5722 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.7639, allocations: 0.5977 MB / 0.5728 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.7639, allocations: 6.578 kB / 0.5728 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.7643, allocations: 304.5 kB / 0.5731 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005608/0.7648, allocations: 0.5339 MB / 0.5736 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.926e-05/0.7649, allocations: 34.12 kB / 0.5737 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.7651, allocations: 111.5 kB / 0.5738 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.7665, allocations: 1.25 MB / 0.575 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004545/0.767, allocations: 0.7223 MB / 0.5757 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.7684, allocations: 1.592 MB / 0.5773 GB, free: 38.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.7684, allocations: 0.9062 kB / 0.5773 GB, free: 38.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.765e-06/0.7684, allocations: 4 kB / 0.5773 GB, free: 38.56 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.7685, allocations: 3.938 kB / 0.5773 GB, free: 38.56 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.002985/0.7715, allocations: 2.771 MB / 0.58 GB, free: 36.39 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.7715, allocations: 8.844 kB / 0.58 GB, free: 36.39 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/0.7719, allocations: 286 kB / 0.5803 GB, free: 36.23 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/0.7765, allocations: 3.331 MB / 0.5835 GB, free: 34.2 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.7765, allocations: 1.875 kB / 0.5835 GB, free: 34.2 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.7766, allocations: 11.28 kB / 0.5835 GB, free: 34.2 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.7769, allocations: 141.9 kB / 0.5837 GB, free: 34.13 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.7769, allocations: 5.719 kB / 0.5837 GB, free: 34.12 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.7769, allocations: 7.781 kB / 0.5837 GB, free: 34.12 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7769, allocations: 1.219 kB / 0.5837 GB, free: 34.12 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.7771, allocations: 80.45 kB / 0.5837 GB, free: 34.11 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.7783, allocations: 1.001 MB / 0.5847 GB, free: 33.45 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.7784, allocations: 72.62 kB / 0.5848 GB, free: 33.41 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.7785, allocations: 60.33 kB / 0.5849 GB, free: 33.39 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-06/0.7786, allocations: 4 kB / 0.5849 GB, free: 33.38 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.7788, allocations: 175.2 kB / 0.585 GB, free: 33.26 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.7789, allocations: 0 / 0.585 GB, free: 33.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001046/0.7799, allocations: 0.6636 MB / 0.5857 GB, free: 33 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.78, allocations: 79.36 kB / 0.5857 GB, free: 32.9 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/0.7828, allocations: 3.182 MB / 0.5889 GB, free: 29.9 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.7829, allocations: 41.7 kB / 0.5889 GB, free: 29.85 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008086/0.7837, allocations: 1.24 MB / 0.5901 GB, free: 28.61 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.7837, allocations: 23.81 kB / 0.5901 GB, free: 28.59 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.7839, allocations: 77.7 kB / 0.5902 GB, free: 28.5 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.7839, allocations: 306 kB / 0.5905 GB, free: 28.2 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.784, allocations: 51.98 kB / 0.5905 GB, free: 28.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.7841, allocations: 47.94 kB / 0.5906 GB, free: 28.1 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.7843, allocations: 172.2 kB / 0.5908 GB, free: 27.92 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7843, allocations: 0 / 0.5908 GB, free: 27.92 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000606/0.7849, allocations: 0.605 MB / 0.5913 GB, free: 27.3 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.7849, allocations: 41.69 kB / 0.5914 GB, free: 27.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7849, allocations: 0 / 0.5914 GB, free: 27.25 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.785, allocations: 144 / 0.5914 GB, free: 27.25 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.7851, allocations: 7.938 kB / 0.5914 GB, free: 27.24 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.7851, allocations: 3.938 kB / 0.5914 GB, free: 27.24 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.7853, allocations: 15.94 kB / 0.5914 GB, free: 27.22 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/0.7854, allocations: 116 kB / 0.5915 GB, free: 27.11 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.0006484/0.7861, allocations: 0.7373 MB / 0.5922 GB, free: 26.36 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.7863, allocations: 304.1 kB / 0.5925 GB, free: 26.05 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.7866, allocations: 337.8 kB / 0.5929 GB, free: 25.72 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7866, allocations: 0 / 0.5929 GB, free: 25.72 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7866, allocations: 3.984 kB / 0.5929 GB, free: 25.71 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7866, allocations: 0 / 0.5929 GB, free: 25.71 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008898/0.7875, allocations: 1.089 MB / 0.5939 GB, free: 24.58 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7875, allocations: 0 / 0.5939 GB, free: 24.58 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.7875, allocations: 7.938 kB / 0.5939 GB, free: 24.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.7876, allocations: 0 / 0.5939 GB, free: 24.57 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.7876, allocations: 28 kB / 0.594 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7876, allocations: 0 / 0.594 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7876, allocations: 0 / 0.594 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.7882, allocations: 0.6806 MB / 0.5946 GB, free: 23.84 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/0.7885, allocations: 333.3 kB / 0.5949 GB, free: 23.49 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.7886, allocations: 15.98 kB / 0.595 GB, free: 23.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.7888, allocations: 8.094 kB / 0.595 GB, free: 23.47 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.7888, allocations: 11.94 kB / 0.595 GB, free: 23.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.389e-05/0.7889, allocations: 112 kB / 0.5951 GB, free: 23.35 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001902/0.7908, allocations: 2.207 MB / 0.5972 GB, free: 21.16 MB / 462.3 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7908, allocations: 4 kB / 0.5972 GB, free: 21.16 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003633/0.7912, allocations: 104 kB / 0.5973 GB, free: 21.05 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.000177/0.7914, allocations: 131.7 kB / 0.5975 GB, free: 20.92 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.7917, allocations: 211.3 kB / 0.5977 GB, free: 20.7 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7917, allocations: 0 / 0.5977 GB, free: 20.7 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.7919, allocations: 147.4 kB / 0.5978 GB, free: 20.54 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.7925, allocations: 224.6 kB / 0.598 GB, free: 20.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.7969, allocations: 4.224 MB / 0.6021 GB, free: 16.06 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009273/0.7978, allocations: 1.699 MB / 0.6038 GB, free: 14.33 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001312/0.7991, allocations: 0.5728 MB / 0.6044 GB, free: 13.75 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.7993, allocations: 135.4 kB / 0.6045 GB, free: 13.62 MB / 462.3 MB Notification: Performance of SimCode: time 2.014e-06/0.7993, allocations: 0 / 0.6045 GB, free: 13.62 MB / 462.3 MB Notification: Performance of Templates: time 0.0324/0.8317, allocations: 10.67 MB / 0.6149 GB, free: 2.906 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches