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.0009375/0.0009376, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.0009854/0.0009854, allocations: 175.4 kB / 18.21 MB, free: 5.684 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.285/1.285, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8824/0.8824, allocations: 120.5 MB / 413.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 8 kB / 0.4955 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5144, allocations: 82.84 MB / 0.5764 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.00125/0.5157, allocations: 1.136 MB / 0.5775 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008523/0.5165, allocations: 0.5688 MB / 0.5781 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.5166, allocations: 4 kB / 0.5781 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.5169, allocations: 228.3 kB / 0.5783 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.5172, allocations: 268.1 kB / 0.5786 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.5175, allocations: 59.02 kB / 0.5786 GB, free: 40.33 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.5179, allocations: 0.5896 MB / 0.5792 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.5179, allocations: 6.734 kB / 0.5792 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.5182, allocations: 308.2 kB / 0.5795 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005388/0.5188, allocations: 0.4984 MB / 0.58 GB, free: 39.68 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.376e-05/0.5189, allocations: 33.19 kB / 0.58 GB, free: 39.68 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.5191, allocations: 105.2 kB / 0.5801 GB, free: 39.64 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.5202, allocations: 1.25 MB / 0.5813 GB, free: 39.04 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004334/0.5207, allocations: 0.749 MB / 0.5821 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0009793/0.5216, allocations: 1.183 MB / 0.5832 GB, free: 37.73 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5217, allocations: 0 / 0.5832 GB, free: 37.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5217, allocations: 0.9375 kB / 0.5832 GB, free: 37.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.906e-05/0.5217, allocations: 0 / 0.5832 GB, free: 37.73 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.002474/0.5242, allocations: 2.466 MB / 0.5856 GB, free: 35.75 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5242, allocations: 9.875 kB / 0.5857 GB, free: 35.75 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.5245, allocations: 292.9 kB / 0.5859 GB, free: 35.59 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/0.5289, allocations: 3.329 MB / 0.5892 GB, free: 33.09 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.5289, allocations: 384 / 0.5892 GB, free: 33.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.529, allocations: 12.38 kB / 0.5892 GB, free: 33.08 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.5292, allocations: 145.9 kB / 0.5893 GB, free: 32.93 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.5292, allocations: 0 / 0.5893 GB, free: 32.93 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.5292, allocations: 12 kB / 0.5893 GB, free: 32.92 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5292, allocations: 4 kB / 0.5894 GB, free: 32.92 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.5293, allocations: 71.98 kB / 0.5894 GB, free: 32.85 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009059/0.5302, allocations: 1.007 MB / 0.5904 GB, free: 31.8 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 9.436e-05/0.5303, allocations: 74.58 kB / 0.5905 GB, free: 31.71 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.5304, allocations: 64.89 kB / 0.5905 GB, free: 31.65 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.5304, allocations: 0 / 0.5905 GB, free: 31.65 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.5307, allocations: 172.9 kB / 0.5907 GB, free: 31.46 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.5307, allocations: 3.938 kB / 0.5907 GB, free: 31.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0007328/0.5314, allocations: 0.6519 MB / 0.5913 GB, free: 30.79 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.5315, allocations: 85.11 kB / 0.5914 GB, free: 30.69 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.5341, allocations: 3.185 MB / 0.5945 GB, free: 27.52 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.5341, allocations: 33.7 kB / 0.5946 GB, free: 27.48 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.000741/0.5349, allocations: 1.24 MB / 0.5958 GB, free: 26.24 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.5349, allocations: 27.86 kB / 0.5958 GB, free: 26.21 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.535, allocations: 25.72 kB / 0.5958 GB, free: 26.18 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.535, allocations: 310 kB / 0.5961 GB, free: 25.88 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.5351, allocations: 48 kB / 0.5962 GB, free: 25.83 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.5352, allocations: 47.98 kB / 0.5962 GB, free: 25.78 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.5354, allocations: 172.2 kB / 0.5964 GB, free: 25.6 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5354, allocations: 0 / 0.5964 GB, free: 25.6 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005152/0.5359, allocations: 0.6128 MB / 0.597 GB, free: 24.97 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.5359, allocations: 33.7 kB / 0.597 GB, free: 24.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5359, allocations: 0 / 0.597 GB, free: 24.93 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.536, allocations: 0 / 0.597 GB, free: 24.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.536, allocations: 7.984 kB / 0.597 GB, free: 24.92 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.536, allocations: 3.938 kB / 0.597 GB, free: 24.92 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.5363, allocations: 15.94 kB / 0.597 GB, free: 24.9 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/0.5363, allocations: 116 kB / 0.5971 GB, free: 24.79 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.0006092/0.537, allocations: 0.742 MB / 0.5979 GB, free: 24.03 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.5371, allocations: 300.1 kB / 0.5982 GB, free: 23.73 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.5374, allocations: 333.8 kB / 0.5985 GB, free: 23.4 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5374, allocations: 0 / 0.5985 GB, free: 23.4 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5374, allocations: 0 / 0.5985 GB, free: 23.4 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5374, allocations: 0 / 0.5985 GB, free: 23.4 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007035/0.5381, allocations: 1.089 MB / 0.5995 GB, free: 22.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5381, allocations: 144 / 0.5995 GB, free: 22.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.5382, allocations: 11.92 kB / 0.5995 GB, free: 22.26 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5382, allocations: 11.92 kB / 0.5996 GB, free: 22.25 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.5382, allocations: 28 kB / 0.5996 GB, free: 22.22 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5382, allocations: 0 / 0.5996 GB, free: 22.22 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5382, allocations: 0 / 0.5996 GB, free: 22.22 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.5387, allocations: 0.665 MB / 0.6002 GB, free: 21.53 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.539, allocations: 337.3 kB / 0.6006 GB, free: 21.18 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.5391, allocations: 12 kB / 0.6006 GB, free: 21.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.5393, allocations: 12 kB / 0.6006 GB, free: 21.15 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.5393, allocations: 11.98 kB / 0.6006 GB, free: 21.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-05/0.5394, allocations: 112 kB / 0.6007 GB, free: 21.03 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001876/0.5413, allocations: 2.203 MB / 0.6029 GB, free: 18.85 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5413, allocations: 0 / 0.6029 GB, free: 18.85 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003498/0.5416, allocations: 108 kB / 0.603 GB, free: 18.74 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.0001668/0.5418, allocations: 135.2 kB / 0.6031 GB, free: 18.6 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.5421, allocations: 211.4 kB / 0.6033 GB, free: 18.38 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5421, allocations: 4 kB / 0.6033 GB, free: 18.38 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.5422, allocations: 151.3 kB / 0.6034 GB, free: 18.22 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.5429, allocations: 224.6 kB / 0.6036 GB, free: 18 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.5474, allocations: 4.848 MB / 0.6084 GB, free: 13.11 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008949/0.5483, allocations: 1.695 MB / 0.61 GB, free: 11.38 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5484, allocations: 139.4 kB / 0.6102 GB, free: 11.24 MB / 462.3 MB Notification: Performance of SimCode: time 1.062e-06/0.5484, allocations: 3.938 kB / 0.6102 GB, free: 11.24 MB / 462.3 MB Notification: Performance of Templates: time 0.07717/0.6256, allocations: 47.31 MB / 0.6564 GB, free: 11.86 MB / 0.4983 GB 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 -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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches