Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000",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.001427/0.001427, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001443/0.001443, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.389/1.389, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.08/1.08, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 59.91 kB / 0.491 GB, free: 13.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.641/0.6426, allocations: 80.69 MB / 0.5698 GB, free: 43.31 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.002955/0.6456, allocations: 1.579 MB / 0.5714 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.6469, allocations: 0.8852 MB / 0.5722 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.655e-05/0.647, allocations: 1.281 kB / 0.5722 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.6484, allocations: 1.757 MB / 0.574 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0008603/0.6492, allocations: 0.9502 MB / 0.5749 GB, free: 40 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.6496, allocations: 103 kB / 0.575 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.6513, allocations: 2.227 MB / 0.5772 GB, free: 38.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.6514, allocations: 8.609 kB / 0.5772 GB, free: 38.83 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.6528, allocations: 1.108 MB / 0.5783 GB, free: 38.29 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/0.6551, allocations: 2.051 MB / 0.5803 GB, free: 37.5 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003236/0.6554, allocations: 128.5 kB / 0.5804 GB, free: 37.5 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004018/0.6558, allocations: 153 kB / 0.5805 GB, free: 37.49 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.004169/0.66, allocations: 4.998 MB / 0.5854 GB, free: 33.61 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.6621, allocations: 2.835 MB / 0.5882 GB, free: 30.74 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.6658, allocations: 6.128 MB / 0.5942 GB, free: 24.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.6658, allocations: 4 kB / 0.5942 GB, free: 24.58 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6658, allocations: 0 / 0.5942 GB, free: 24.58 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001277/0.666, allocations: 0 / 0.5942 GB, free: 24.58 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.009446/0.6754, allocations: 9.98 MB / 0.6039 GB, free: 14.46 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.6755, allocations: 15.89 kB / 0.6039 GB, free: 14.45 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.6755, allocations: 30.75 kB / 0.604 GB, free: 14.41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.6767, allocations: 1.107 MB / 0.605 GB, free: 13.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02024/0.6969, allocations: 12.98 MB / 0.6177 GB, free: 188 kB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.697, allocations: 384 / 0.6177 GB, free: 188 kB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.6971, allocations: 3.938 kB / 0.6177 GB, free: 184 kB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.6974, allocations: 49.67 kB / 0.6178 GB, free: 128 kB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.6974, allocations: 0 / 0.6178 GB, free: 128 kB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.6974, allocations: 4 kB / 0.6178 GB, free: 124 kB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.6974, allocations: 0 / 0.6178 GB, free: 124 kB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.6975, allocations: 15.98 kB / 0.6178 GB, free: 108 kB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007796/0.7053, allocations: 3.553 MB / 0.6213 GB, free: 12.51 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.7057, allocations: 54.5 kB / 0.6213 GB, free: 12.45 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.225e-05/0.7057, allocations: 20.84 kB / 0.6213 GB, free: 12.42 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.7058, allocations: 4 kB / 0.6213 GB, free: 12.42 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.7061, allocations: 63.39 kB / 0.6214 GB, free: 12.34 MB / 478.3 MB Notification: Performance of pre-optimization done (n=5): time 3.256e-06/0.7061, allocations: 0 / 0.6214 GB, free: 12.34 MB / 478.3 MB Notification: Performance of matching and sorting (n=5): time 0.003131/0.7093, allocations: 1.229 MB / 0.6226 GB, free: 11.09 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.7094, allocations: 51.41 kB / 0.6226 GB, free: 11.03 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02089/0.7303, allocations: 12.75 MB / 0.6351 GB, free: 14.38 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.7304, allocations: 29.7 kB / 0.6351 GB, free: 14.35 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005736/0.7361, allocations: 5.474 MB / 0.6405 GB, free: 8.871 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.7362, allocations: 19.8 kB / 0.6405 GB, free: 8.852 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.7363, allocations: 17.72 kB / 0.6405 GB, free: 8.828 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7364, allocations: 310 kB / 0.6408 GB, free: 8.52 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.7365, allocations: 15.98 kB / 0.6408 GB, free: 8.504 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.7366, allocations: 33.64 kB / 0.6408 GB, free: 8.465 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.7367, allocations: 45.66 kB / 0.6409 GB, free: 8.414 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.7367, allocations: 11.88 kB / 0.6409 GB, free: 8.402 MB / 494.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.002044/0.7388, allocations: 1.206 MB / 0.6421 GB, free: 7.176 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.7388, allocations: 4 kB / 0.6421 GB, free: 7.172 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7388, allocations: 0 / 0.6421 GB, free: 7.172 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.7389, allocations: 0 / 0.6421 GB, free: 7.172 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.931e-05/0.739, allocations: 15.94 kB / 0.6421 GB, free: 7.156 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.739, allocations: 0 / 0.6421 GB, free: 7.156 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.7404, allocations: 36.03 kB / 0.6421 GB, free: 7.121 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.7404, allocations: 4 kB / 0.6421 GB, free: 7.117 MB / 494.3 MB 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.003535/0.7439, allocations: 2.441 MB / 0.6445 GB, free: 4.664 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001619/0.7455, allocations: 1.165 MB / 0.6457 GB, free: 3.484 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.7479, allocations: 1.292 MB / 0.6469 GB, free: 2.188 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7479, allocations: 0 / 0.6469 GB, free: 2.188 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7479, allocations: 0 / 0.6469 GB, free: 2.188 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.748, allocations: 0 / 0.6469 GB, free: 2.188 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005936/0.7539, allocations: 3.893 MB / 0.6507 GB, free: 14.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.7539, allocations: 0 / 0.6507 GB, free: 14.25 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.754, allocations: 8 kB / 0.6507 GB, free: 14.24 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.754, allocations: 3.984 kB / 0.6507 GB, free: 14.24 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.754, allocations: 4.297 kB / 0.6507 GB, free: 14.23 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.7541, allocations: 8 kB / 0.6507 GB, free: 14.23 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.7541, allocations: 0 / 0.6507 GB, free: 14.23 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.7561, allocations: 1.329 MB / 0.652 GB, free: 12.87 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.7576, allocations: 0.9473 MB / 0.653 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005173/0.7581, allocations: 32 kB / 0.653 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/0.7587, allocations: 39.98 kB / 0.653 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.7587, allocations: 0 / 0.653 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.7588, allocations: 4 kB / 0.653 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0144/0.7732, allocations: 8.763 MB / 0.6616 GB, free: 3.129 MB / 0.4983 GB Notification: Performance of sort global known variables: time 7.12e-07/0.7732, allocations: 0 / 0.6616 GB, free: 3.129 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.00194/0.7752, allocations: 328 kB / 0.6619 GB, free: 2.809 MB / 0.4983 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.003613/0.7788, allocations: 2.273 MB / 0.6641 GB, free: 0.6562 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.7791, allocations: 39.98 kB / 0.6642 GB, free: 0.6172 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7791, allocations: 0 / 0.6642 GB, free: 0.6172 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.886e-05/0.7791, allocations: 23.92 kB / 0.6642 GB, free: 0.5938 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/0.7835, allocations: 0.8706 MB / 0.665 GB, free: 15.72 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.693/1.476, allocations: 124.4 MB / 0.7865 GB, free: 174 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004866/1.481, allocations: 4.795 MB / 0.7912 GB, free: 171.4 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.007143/1.489, allocations: 2.834 MB / 0.794 GB, free: 170.1 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005328/1.494, allocations: 4.967 MB / 0.7988 GB, free: 165.9 MB / 0.6079 GB Notification: Performance of SimCode: time 1.022e-06/1.494, allocations: 0.6562 kB / 0.7988 GB, free: 165.9 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2232/1.717, allocations: 145 MB / 0.9405 GB, free: 22.29 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.83, allocations: 12.55 kB / 0.9405 GB, free: 22.28 MB / 0.6079 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_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_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches