Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.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.CombiTimeTable_N_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_8000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_8000",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.001606/0.001606, allocations: 109.4 kB / 16.92 MB, free: 5.801 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.002028/0.002029, allocations: 191.3 kB / 17.85 MB, free: 5.16 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.401/1.401, 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.219/1.219, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.91 kB / 0.4911 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6544/0.6564, allocations: 80.68 MB / 0.5698 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.00378/0.6602, allocations: 1.577 MB / 0.5714 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.662, allocations: 0.8863 MB / 0.5722 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.6621, allocations: 0 / 0.5722 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.009959/0.6721, allocations: 13.72 MB / 0.5856 GB, free: 33.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.6757, allocations: 6.927 MB / 0.5924 GB, free: 26.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.6761, allocations: 106.9 kB / 0.5925 GB, free: 26.4 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.008322/0.6845, allocations: 17.07 MB / 0.6092 GB, free: 9.301 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.6847, allocations: 7.938 kB / 0.6092 GB, free: 9.293 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01321/0.6979, allocations: 8.478 MB / 0.6175 GB, free: 0.8008 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02445/0.7224, allocations: 16.15 MB / 0.6332 GB, free: 0.625 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.005232/0.7277, allocations: 0.9805 MB / 0.6342 GB, free: 15.64 MB / 494.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006315/0.734, allocations: 1.008 MB / 0.6352 GB, free: 14.64 MB / 494.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04543/0.7795, allocations: 39.82 MB / 0.6741 GB, free: 6.707 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.04033/0.8199, allocations: 22.48 MB / 0.696 GB, free: 0 / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0726/0.8926, allocations: 48.43 MB / 0.7433 GB, free: 15.3 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.8926, allocations: 0 / 0.7433 GB, free: 15.3 MB / 0.592 GB Notification: Performance of FrontEnd: time 3.116e-06/0.8927, allocations: 3.938 kB / 0.7433 GB, free: 15.3 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002751/0.8954, allocations: 0 / 0.7433 GB, free: 15.3 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.8848/1.78, allocations: 77.13 MB / 0.8187 GB, free: 86.83 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.78, allocations: 11.89 kB / 0.8187 GB, free: 86.82 MB / 0.5923 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.007e-05/1.78, allocations: 38.73 kB / 0.8187 GB, free: 86.77 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/1.797, allocations: 8.801 MB / 0.8273 GB, free: 77.86 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3436/2.14, allocations: 103.1 MB / 0.928 GB, free: 6.191 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/2.14, allocations: 5.312 kB / 0.928 GB, free: 6.188 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/2.14, allocations: 4 kB / 0.928 GB, free: 6.184 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/2.141, allocations: 45.67 kB / 0.928 GB, free: 6.133 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/2.141, allocations: 3.938 kB / 0.928 GB, free: 6.129 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/2.141, allocations: 5.078 kB / 0.928 GB, free: 6.125 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/2.141, allocations: 0 / 0.928 GB, free: 6.125 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.111e-05/2.141, allocations: 15.98 kB / 0.928 GB, free: 6.109 MB / 0.6235 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06879/2.21, allocations: 27.31 MB / 0.9547 GB, free: 10.73 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/2.21, allocations: 56.59 kB / 0.9548 GB, free: 10.67 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.274e-05/2.21, allocations: 20.84 kB / 0.9548 GB, free: 10.64 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/2.21, allocations: 2.844 kB / 0.9548 GB, free: 10.64 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000315/2.21, allocations: 71.27 kB / 0.9548 GB, free: 10.56 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=5): time 5.15e-06/2.21, allocations: 1.828 kB / 0.9548 GB, free: 10.56 MB / 0.6548 GB Notification: Performance of matching and sorting (n=5): time 0.02029/2.231, allocations: 9.127 MB / 0.9638 GB, free: 1.312 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/2.231, allocations: 52.22 kB / 0.9638 GB, free: 1.25 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7015/2.932, allocations: 101 MB / 1.062 GB, free: 179 MB / 0.7173 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/2.932, allocations: 27.45 kB / 1.062 GB, free: 179 MB / 0.7173 GB Notification: Performance of collectInitialEqns (initialization): time 0.06433/2.997, allocations: 49.01 MB / 1.11 GB, free: 138.7 MB / 0.7173 GB Notification: Performance of collectInitialBindings (initialization): time 9.547e-05/2.997, allocations: 16.55 kB / 1.11 GB, free: 138.7 MB / 0.7173 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/2.997, allocations: 19.11 kB / 1.11 GB, free: 138.7 MB / 0.7173 GB Notification: Performance of setup shared object (initialization): time 7.52e-05/2.997, allocations: 311.3 kB / 1.111 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/2.997, allocations: 16.05 kB / 1.111 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/2.997, allocations: 29.69 kB / 1.111 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/2.998, allocations: 43.3 kB / 1.111 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/2.998, allocations: 0 / 1.111 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.02284/3.02, allocations: 9.111 MB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/3.02, allocations: 6.688 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/3.02, allocations: 4 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/3.02, allocations: 3.422 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/3.021, allocations: 8.75 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/3.021, allocations: 0 / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01443/3.035, allocations: 264.1 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/3.035, allocations: 2.906 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0296/3.065, allocations: 18.67 MB / 1.138 GB, free: 132.9 MB / 0.7173 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01863/3.083, allocations: 9.289 MB / 1.147 GB, free: 132.9 MB / 0.7173 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02976/3.113, allocations: 10.23 MB / 1.157 GB, free: 128.5 MB / 0.7173 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/3.113, allocations: 3.938 kB / 1.157 GB, free: 128.5 MB / 0.7173 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/3.113, allocations: 3.812 kB / 1.157 GB, free: 128.5 MB / 0.7173 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/3.113, allocations: 0.6562 kB / 1.157 GB, free: 128.5 MB / 0.7173 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07691/3.19, allocations: 29.99 MB / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/3.19, allocations: 6.484 kB / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-05/3.19, allocations: 4 kB / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/3.19, allocations: 0 / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/3.19, allocations: 3.984 kB / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/3.19, allocations: 3.938 kB / 1.187 GB, free: 100.5 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/3.19, allocations: 3.281 kB / 1.187 GB, free: 100.5 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02279/3.213, allocations: 9.964 MB / 1.196 GB, free: 90.45 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02409/3.237, allocations: 6.928 MB / 1.203 GB, free: 83.39 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01697/3.254, allocations: 252 kB / 1.203 GB, free: 83.14 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01478/3.269, allocations: 259.9 kB / 1.204 GB, free: 82.89 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/3.269, allocations: 0 / 1.204 GB, free: 82.89 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/3.269, allocations: 4 kB / 1.204 GB, free: 82.88 MB / 0.7173 GB Notification: Performance of sorting global known variables: time 0.1444/3.414, allocations: 69.99 MB / 1.272 GB, free: 13.55 MB / 0.7173 GB Notification: Performance of sort global known variables: time 4.81e-07/3.414, allocations: 0 / 1.272 GB, free: 13.55 MB / 0.7173 GB Notification: Performance of remove unused functions: time 0.01773/3.431, allocations: 2.457 MB / 1.274 GB, free: 11.09 MB / 0.7173 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01826/3.45, allocations: 11.51 MB / 1.286 GB, free: 15.63 MB / 0.7329 GB Notification: Performance of simCode: created initialization part: time 0.0002492/3.45, allocations: 43.22 kB / 1.286 GB, free: 15.59 MB / 0.7329 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/3.45, allocations: 2.953 kB / 1.286 GB, free: 15.59 MB / 0.7329 GB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/3.45, allocations: 23.94 kB / 1.286 GB, free: 15.57 MB / 0.7329 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05315/3.503, allocations: 6.778 MB / 1.292 GB, free: 8.793 MB / 0.7329 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 13.81/17.31, allocations: 4.318 GB / 5.61 GB, free: 232.8 MB / 0.9829 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5383/17.85, allocations: 34.4 MB / 5.643 GB, free: 445.8 MB / 0.9829 GB Notification: Performance of simCode: alias equations: time 0.09731/17.94, allocations: 22.77 MB / 5.666 GB, free: 437.6 MB / 0.9829 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0787/18.02, allocations: 45.33 MB / 5.71 GB, free: 399.2 MB / 0.9829 GB Notification: Performance of SimCode: time 2.104e-06/18.02, allocations: 0 / 5.71 GB, free: 399.2 MB / 0.9829 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.606/21.63, allocations: 1.129 GB / 6.838 GB, free: 132 MB / 0.9829 GB Notification: Performance of buildModelFMU: Generate platform static: time 87.3/108.9, allocations: 12.81 kB / 6.838 GB, free: 132 MB / 0.9829 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_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_CombiTimeTable_N_8000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches