Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_8000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_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.001619/0.001619, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.002008/0.002008, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.369/1.369, 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.046/1.046, allocations: 119.3 MB / 411 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 63.91 kB / 0.491 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6057/0.6073, allocations: 80.69 MB / 0.5698 GB, free: 43.25 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.003505/0.6108, allocations: 1.409 MB / 0.5712 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.612, allocations: 0.5698 MB / 0.5718 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.6121, allocations: 0 / 0.5718 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006007/0.6181, allocations: 6.844 MB / 0.5785 GB, free: 38.26 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00565/0.6238, allocations: 6.898 MB / 0.5852 GB, free: 33.81 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.6243, allocations: 79.78 kB / 0.5853 GB, free: 33.73 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01234/0.6367, allocations: 17.03 MB / 0.6019 GB, free: 16.68 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.6368, allocations: 11.98 kB / 0.6019 GB, free: 16.67 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0131/0.6499, allocations: 8.458 MB / 0.6102 GB, free: 8.195 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02021/0.6702, allocations: 16.14 MB / 0.6259 GB, free: 8.031 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.006329/0.6766, allocations: 0.9805 MB / 0.6269 GB, free: 7.051 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006229/0.6828, allocations: 1.051 MB / 0.6279 GB, free: 6 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04517/0.728, allocations: 39.8 MB / 0.6668 GB, free: 14.09 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.03499/0.7631, allocations: 22.48 MB / 0.6887 GB, free: 7.387 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0533/0.8164, allocations: 48.43 MB / 0.736 GB, free: 6.684 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.8165, allocations: 0 / 0.736 GB, free: 6.684 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.916e-06/0.8165, allocations: 0 / 0.736 GB, free: 6.684 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.002372/0.8189, allocations: 0 / 0.736 GB, free: 6.684 MB / 0.5764 GB 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.7771/1.596, allocations: 77.12 MB / 0.8113 GB, free: 84.03 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/1.596, allocations: 19.88 kB / 0.8114 GB, free: 84.01 MB / 0.5923 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/1.596, allocations: 30.75 kB / 0.8114 GB, free: 83.97 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/1.611, allocations: 8.794 MB / 0.82 GB, free: 75.06 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3069/1.918, allocations: 103.1 MB / 0.9206 GB, free: 3.402 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/1.919, allocations: 384 / 0.9206 GB, free: 3.402 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007488/1.919, allocations: 252.4 kB / 0.9209 GB, free: 3.156 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/1.923, allocations: 2.973 MB / 0.9238 GB, free: 180 kB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/1.923, allocations: 7.781 kB / 0.9238 GB, free: 176 kB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004766/1.923, allocations: 256 kB / 0.924 GB, free: 15.92 MB / 0.6392 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/1.923, allocations: 0.5312 kB / 0.924 GB, free: 15.92 MB / 0.6392 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/1.926, allocations: 1.73 MB / 0.9257 GB, free: 14.2 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07489/2, allocations: 27.55 MB / 0.9526 GB, free: 2.574 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/2.005, allocations: 1.014 MB / 0.9536 GB, free: 1.551 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/2.007, allocations: 1.005 MB / 0.9546 GB, free: 0.543 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/2.007, allocations: 0 / 0.9546 GB, free: 0.543 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003203/2.01, allocations: 2.541 MB / 0.9571 GB, free: 13.98 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 2.955e-06/2.01, allocations: 3.938 kB / 0.9571 GB, free: 13.98 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.03161/2.042, allocations: 16.5 MB / 0.9732 GB, free: 13.35 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.565e-05/2.042, allocations: 85.09 kB / 0.9733 GB, free: 13.25 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6527/2.695, allocations: 99.06 MB / 1.07 GB, free: 197.2 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.002218/2.697, allocations: 281.7 kB / 1.07 GB, free: 197.2 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.05621/2.753, allocations: 46.97 MB / 1.116 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.002172/2.756, allocations: 267.2 kB / 1.116 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003362/2.759, allocations: 1.73 MB / 1.118 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 6.658e-05/2.759, allocations: 310 kB / 1.118 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/2.761, allocations: 0.994 MB / 1.119 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/2.762, allocations: 0.9915 MB / 1.12 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/2.765, allocations: 2.063 MB / 1.122 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/2.765, allocations: 0 / 1.122 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02482/2.79, allocations: 15.51 MB / 1.137 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/2.79, allocations: 36.77 kB / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/2.79, allocations: 3.984 kB / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/2.79, allocations: 0 / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.939e-05/2.79, allocations: 6.5 kB / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/2.79, allocations: 0 / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01433/2.805, allocations: 253 kB / 1.138 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00778/2.812, allocations: 3.422 MB / 1.141 GB, free: 157.7 MB / 0.7329 GB 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.0298/2.842, allocations: 19.19 MB / 1.16 GB, free: 144.9 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01861/2.861, allocations: 9.044 MB / 1.169 GB, free: 140.8 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02421/2.885, allocations: 10.22 MB / 1.179 GB, free: 130.5 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/2.885, allocations: 4.75 kB / 1.179 GB, free: 130.5 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/2.885, allocations: 0.6094 kB / 1.179 GB, free: 130.5 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/2.885, allocations: 4.938 kB / 1.179 GB, free: 130.5 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06957/2.955, allocations: 30 MB / 1.208 GB, free: 100.4 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/2.955, allocations: 4.266 kB / 1.208 GB, free: 100.4 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/2.955, allocations: 0 / 1.208 GB, free: 100.4 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/2.955, allocations: 4 kB / 1.208 GB, free: 100.4 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00288/2.958, allocations: 0.7383 MB / 1.209 GB, free: 99.7 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/2.958, allocations: 3.938 kB / 1.209 GB, free: 99.7 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.958, allocations: 3.5 kB / 1.209 GB, free: 99.7 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03671/2.995, allocations: 16.14 MB / 1.224 GB, free: 83.42 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02548/3.02, allocations: 7.653 MB / 1.232 GB, free: 75.63 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01178/3.032, allocations: 257.1 kB / 1.232 GB, free: 75.38 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01275/3.045, allocations: 255.9 kB / 1.232 GB, free: 75.13 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/3.045, allocations: 2.969 kB / 1.232 GB, free: 75.13 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005835/3.051, allocations: 3.43 MB / 1.236 GB, free: 71.7 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.1191/3.17, allocations: 68.97 MB / 1.303 GB, free: 3.371 MB / 0.7329 GB Notification: Performance of sort global known variables: time 3.9e-07/3.17, allocations: 7.938 kB / 1.303 GB, free: 3.363 MB / 0.7329 GB Notification: Performance of remove unused functions: time 0.01359/3.183, allocations: 2.469 MB / 1.306 GB, free: 0.8984 MB / 0.7329 GB 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.4446/3.628, allocations: 17.62 MB / 1.323 GB, free: 244.7 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.01079/3.639, allocations: 2.336 MB / 1.325 GB, free: 244.7 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/3.639, allocations: 0.875 kB / 1.325 GB, free: 244.7 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.003373/3.642, allocations: 1.327 MB / 1.326 GB, free: 244.6 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05309/3.696, allocations: 6.755 MB / 1.333 GB, free: 240.3 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 11.96/15.66, allocations: 4.322 GB / 5.655 GB, free: 256 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.542/16.2, allocations: 34.38 MB / 5.688 GB, free: 495.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.06749/16.27, allocations: 18.7 MB / 5.707 GB, free: 487.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05416/16.32, allocations: 40.93 MB / 5.747 GB, free: 451.3 MB / 1.014 GB Notification: Performance of SimCode: time 1.843e-06/16.32, allocations: 0 / 5.747 GB, free: 451.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.12/20.44, allocations: 1.214 GB / 6.961 GB, free: 201 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 92.58/113, allocations: 4.688 kB / 6.961 GB, free: 201 MB / 1.014 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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_TimeTable_N_8000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches