Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.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_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000",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.001339/0.001339, allocations: 105.8 kB / 16.92 MB, free: 5.785 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.001409/0.001409, 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.416/1.416, allocations: 222.9 MB / 241.6 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.121/1.121, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 59.91 kB / 0.491 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.643/0.6443, allocations: 80.69 MB / 0.5698 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.003136/0.6475, allocations: 1.581 MB / 0.5714 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.6489, allocations: 0.885 MB / 0.5723 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.402e-05/0.649, allocations: 1.531 kB / 0.5723 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.6518, allocations: 3.459 MB / 0.5756 GB, free: 39.71 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.6534, allocations: 1.807 MB / 0.5774 GB, free: 38.79 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.6538, allocations: 107.8 kB / 0.5775 GB, free: 38.71 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004346/0.6582, allocations: 4.34 MB / 0.5817 GB, free: 36.6 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.6583, allocations: 16.39 kB / 0.5818 GB, free: 36.59 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/0.6625, allocations: 2.16 MB / 0.5839 GB, free: 35.31 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004593/0.6671, allocations: 4.068 MB / 0.5878 GB, free: 31.24 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0005678/0.6677, allocations: 252 kB / 0.5881 GB, free: 30.99 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005918/0.6683, allocations: 280 kB / 0.5883 GB, free: 30.72 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007817/0.6761, allocations: 9.966 MB / 0.5981 GB, free: 20.73 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.005944/0.6821, allocations: 5.643 MB / 0.6036 GB, free: 15.03 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.008261/0.6904, allocations: 12.17 MB / 0.6155 GB, free: 2.789 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.6904, allocations: 3.938 kB / 0.6155 GB, free: 2.785 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6904, allocations: 0 / 0.6155 GB, free: 2.785 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0004052/0.6909, allocations: 4 kB / 0.6155 GB, free: 2.781 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.02497/0.7158, allocations: 19.57 MB / 0.6346 GB, free: 14.98 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.7159, allocations: 11.89 kB / 0.6346 GB, free: 14.97 MB / 494.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.716, allocations: 34.75 kB / 0.6346 GB, free: 14.93 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.7189, allocations: 2.21 MB / 0.6368 GB, free: 12.69 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05036/0.7693, allocations: 25.84 MB / 0.662 GB, free: 2.652 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.7694, allocations: 384 / 0.662 GB, free: 2.652 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.7694, allocations: 7.938 kB / 0.662 GB, free: 2.645 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.7696, allocations: 53.61 kB / 0.6621 GB, free: 2.586 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7696, allocations: 0 / 0.6621 GB, free: 2.586 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.7697, allocations: 0 / 0.6621 GB, free: 2.586 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.7697, allocations: 4 kB / 0.6621 GB, free: 2.582 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.657e-05/0.7698, allocations: 15.98 kB / 0.6621 GB, free: 2.566 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/0.7816, allocations: 6.946 MB / 0.6689 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.7819, allocations: 58.55 kB / 0.669 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.782, allocations: 20.86 kB / 0.669 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.782, allocations: 0 / 0.669 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.7823, allocations: 67.33 kB / 0.669 GB, free: 11.4 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 2.484e-06/0.7823, allocations: 0 / 0.669 GB, free: 11.4 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.004258/0.7866, allocations: 2.351 MB / 0.6713 GB, free: 9.012 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.7866, allocations: 51.41 kB / 0.6714 GB, free: 8.949 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04126/0.8279, allocations: 25.36 MB / 0.6961 GB, free: 15.8 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.828, allocations: 25.7 kB / 0.6962 GB, free: 15.77 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01296/0.8409, allocations: 11.35 MB / 0.7073 GB, free: 4.41 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/0.8411, allocations: 10.81 kB / 0.7073 GB, free: 4.402 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.8412, allocations: 25.62 kB / 0.7073 GB, free: 4.371 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8413, allocations: 314 kB / 0.7076 GB, free: 4.059 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.8414, allocations: 15.94 kB / 0.7076 GB, free: 4.043 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.8415, allocations: 29.7 kB / 0.7076 GB, free: 4.008 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.8416, allocations: 45.95 kB / 0.7077 GB, free: 3.957 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.8416, allocations: 7.938 kB / 0.7077 GB, free: 3.949 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.004283/0.8459, allocations: 2.335 MB / 0.71 GB, free: 1.578 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.846, allocations: 7.938 kB / 0.71 GB, free: 1.57 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.846, allocations: 0 / 0.71 GB, free: 1.57 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.846, allocations: 0 / 0.71 GB, free: 1.57 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.8461, allocations: 15.97 kB / 0.71 GB, free: 1.555 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.8461, allocations: 7.984 kB / 0.71 GB, free: 1.547 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/0.8496, allocations: 64 kB / 0.7101 GB, free: 1.484 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.8496, allocations: 8 kB / 0.7101 GB, free: 1.477 MB / 0.5452 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.007385/0.857, allocations: 4.759 MB / 0.7147 GB, free: 12.7 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004131/0.8612, allocations: 2.33 MB / 0.717 GB, free: 10.34 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005681/0.8669, allocations: 2.557 MB / 0.7195 GB, free: 7.785 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.8669, allocations: 4 kB / 0.7195 GB, free: 7.781 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.8669, allocations: 3.984 kB / 0.7195 GB, free: 7.777 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8669, allocations: 4 kB / 0.7195 GB, free: 7.773 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.8809, allocations: 7.625 MB / 0.7269 GB, free: 100 kB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.881, allocations: 0 / 0.7269 GB, free: 100 kB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.881, allocations: 4 kB / 0.7269 GB, free: 96 kB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.8811, allocations: 0 / 0.7269 GB, free: 96 kB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.8811, allocations: 0 / 0.7269 GB, free: 96 kB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.8811, allocations: 0 / 0.7269 GB, free: 96 kB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8811, allocations: 0 / 0.7269 GB, free: 96 kB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/0.8855, allocations: 2.575 MB / 0.7295 GB, free: 13.47 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003942/0.8895, allocations: 1.792 MB / 0.7312 GB, free: 11.63 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001833/0.8914, allocations: 68 kB / 0.7313 GB, free: 11.57 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/0.8931, allocations: 68.12 kB / 0.7313 GB, free: 11.5 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.8931, allocations: 11.92 kB / 0.7314 GB, free: 11.49 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.8932, allocations: 0 / 0.7314 GB, free: 11.49 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03074/0.9239, allocations: 17.52 MB / 0.7485 GB, free: 10.12 MB / 0.592 GB Notification: Performance of sort global known variables: time 6.51e-07/0.924, allocations: 0 / 0.7485 GB, free: 10.12 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003372/0.9273, allocations: 0.6211 MB / 0.7491 GB, free: 9.504 MB / 0.592 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.004296/0.9317, allocations: 3.585 MB / 0.7526 GB, free: 6.023 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.9319, allocations: 51.92 kB / 0.7526 GB, free: 5.973 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9319, allocations: 0 / 0.7526 GB, free: 5.973 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 6.003e-05/0.9319, allocations: 19.98 kB / 0.7526 GB, free: 5.953 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005647/0.9376, allocations: 1.72 MB / 0.7543 GB, free: 4.234 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.259/2.197, allocations: 371 MB / 1.117 GB, free: 166.7 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01825/2.215, allocations: 8.923 MB / 1.125 GB, free: 157.7 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.01693/2.232, allocations: 5.677 MB / 1.131 GB, free: 152.3 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01306/2.245, allocations: 10.39 MB / 1.141 GB, free: 141.9 MB / 0.686 GB Notification: Performance of SimCode: time 1.993e-06/2.245, allocations: 0 / 1.141 GB, free: 141.9 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7782/3.024, allocations: 288.4 MB / 1.423 GB, free: 82.71 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.26/28.28, allocations: 14.69 kB / 1.423 GB, free: 82.7 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_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_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches