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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.00108/0.00108, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.409/1.409, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.117/1.117, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 55.91 kB / 0.491 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.621, allocations: 80.68 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.003037/0.6241, allocations: 1.406 MB / 0.5712 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.6253, allocations: 0.5666 MB / 0.5718 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.6253, allocations: 7.938 kB / 0.5718 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.6257, allocations: 231.6 kB / 0.572 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.6262, allocations: 273.7 kB / 0.5723 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.6265, allocations: 79.69 kB / 0.5723 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005851/0.6271, allocations: 0.5976 MB / 0.5729 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.159e-05/0.6272, allocations: 10.55 kB / 0.5729 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.6275, allocations: 304.8 kB / 0.5732 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.6282, allocations: 0.534 MB / 0.5737 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.637e-05/0.6283, allocations: 33.59 kB / 0.5738 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.6285, allocations: 112.1 kB / 0.5739 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.63, allocations: 1.249 MB / 0.5751 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.6304, allocations: 0.7238 MB / 0.5758 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.6322, allocations: 1.588 MB / 0.5774 GB, free: 38.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.6322, allocations: 0 / 0.5774 GB, free: 38.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.496e-06/0.6322, allocations: 4.875 kB / 0.5774 GB, free: 38.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.377e-05/0.6323, allocations: 3.938 kB / 0.5774 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.003979/0.6362, allocations: 2.772 MB / 0.5801 GB, free: 36.39 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 7.57e-05/0.6363, allocations: 13.95 kB / 0.5801 GB, free: 36.39 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.6364, allocations: 36.03 kB / 0.5801 GB, free: 36.34 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004733/0.6369, allocations: 284.7 kB / 0.5804 GB, free: 36.19 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006289/0.6432, allocations: 3.328 MB / 0.5836 GB, free: 34.15 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.6432, allocations: 1.688 kB / 0.5836 GB, free: 34.15 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.6433, allocations: 10.56 kB / 0.5837 GB, free: 34.15 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.6436, allocations: 147.3 kB / 0.5838 GB, free: 34.08 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6436, allocations: 0 / 0.5838 GB, free: 34.08 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.6436, allocations: 8.625 kB / 0.5838 GB, free: 34.08 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.6437, allocations: 1.062 kB / 0.5838 GB, free: 34.08 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.6438, allocations: 76.27 kB / 0.5839 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.6452, allocations: 1.006 MB / 0.5849 GB, free: 33.4 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.6454, allocations: 73 kB / 0.5849 GB, free: 33.36 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.6455, allocations: 60.27 kB / 0.585 GB, free: 33.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.6455, allocations: 3.984 kB / 0.585 GB, free: 33.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003612/0.6459, allocations: 182.4 kB / 0.5852 GB, free: 33.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.964e-06/0.6459, allocations: 5.125 kB / 0.5852 GB, free: 33.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001156/0.6471, allocations: 0.651 MB / 0.5858 GB, free: 32.95 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.6471, allocations: 79.27 kB / 0.5859 GB, free: 32.86 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00383/0.651, allocations: 3.189 MB / 0.589 GB, free: 29.8 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.651, allocations: 33.7 kB / 0.589 GB, free: 29.77 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008103/0.6518, allocations: 1.236 MB / 0.5902 GB, free: 28.53 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.82e-05/0.6519, allocations: 27.8 kB / 0.5903 GB, free: 28.5 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.652, allocations: 73.72 kB / 0.5903 GB, free: 28.42 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.6521, allocations: 314 kB / 0.5906 GB, free: 28.11 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.641e-05/0.6522, allocations: 47.98 kB / 0.5907 GB, free: 28.06 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/0.6523, allocations: 47.94 kB / 0.5907 GB, free: 28.02 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.6525, allocations: 168.3 kB / 0.5909 GB, free: 27.84 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6525, allocations: 3.938 kB / 0.5909 GB, free: 27.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006594/0.6532, allocations: 0.6088 MB / 0.5915 GB, free: 27.21 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.6532, allocations: 37.69 kB / 0.5915 GB, free: 27.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.6532, allocations: 3.938 kB / 0.5915 GB, free: 27.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.6533, allocations: 0 / 0.5915 GB, free: 27.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.6534, allocations: 8 kB / 0.5915 GB, free: 27.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6534, allocations: 4 kB / 0.5915 GB, free: 27.15 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.6538, allocations: 23.84 kB / 0.5916 GB, free: 27.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-05/0.6539, allocations: 116 kB / 0.5917 GB, free: 27.01 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.0008973/0.6548, allocations: 0.7378 MB / 0.5924 GB, free: 26.26 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.6551, allocations: 296.2 kB / 0.5927 GB, free: 25.96 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.6555, allocations: 333.8 kB / 0.593 GB, free: 25.63 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.6555, allocations: 0 / 0.593 GB, free: 25.63 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6555, allocations: 0 / 0.593 GB, free: 25.63 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6555, allocations: 8 kB / 0.593 GB, free: 25.62 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.6567, allocations: 1.089 MB / 0.5941 GB, free: 24.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.6567, allocations: 7.938 kB / 0.5941 GB, free: 24.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.6567, allocations: 0 / 0.5941 GB, free: 24.48 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.6567, allocations: 0 / 0.5941 GB, free: 24.48 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.6568, allocations: 28 kB / 0.5941 GB, free: 24.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6568, allocations: 0 / 0.5941 GB, free: 24.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6568, allocations: 3.984 kB / 0.5941 GB, free: 24.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.6574, allocations: 0.673 MB / 0.5947 GB, free: 23.75 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.6578, allocations: 337.3 kB / 0.5951 GB, free: 23.4 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.658, allocations: 12 kB / 0.5951 GB, free: 23.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.6582, allocations: 12 kB / 0.5951 GB, free: 23.38 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.6582, allocations: 4 kB / 0.5951 GB, free: 23.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.977e-05/0.6583, allocations: 112 kB / 0.5952 GB, free: 23.27 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.002402/0.6607, allocations: 2.207 MB / 0.5974 GB, free: 21.08 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6607, allocations: 0 / 0.5974 GB, free: 21.08 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004192/0.6611, allocations: 108 kB / 0.5975 GB, free: 20.97 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.0009941/0.6621, allocations: 1.266 MB / 0.5987 GB, free: 19.67 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.6625, allocations: 207.4 kB / 0.5989 GB, free: 19.45 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6625, allocations: 4 kB / 0.5989 GB, free: 19.45 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.6626, allocations: 147.4 kB / 0.599 GB, free: 19.29 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.6634, allocations: 225.9 kB / 0.5993 GB, free: 19.07 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/0.6863, allocations: 20.42 MB / 0.6192 GB, free: 13.29 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/0.6884, allocations: 1.691 MB / 0.6208 GB, free: 11.57 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001631/0.6901, allocations: 0.5769 MB / 0.6214 GB, free: 10.98 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.6912, allocations: 0.9914 MB / 0.6224 GB, free: 9.992 MB / 478.3 MB Notification: Performance of SimCode: time 9.92e-07/0.6912, allocations: 0 / 0.6224 GB, free: 9.992 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08576/0.777, allocations: 39.87 MB / 0.6613 GB, free: 2.23 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.42/10.2, allocations: 10.5 kB / 0.6613 GB, free: 2.223 MB / 0.4983 GB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.csv","/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