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.001406/0.001406, allocations: 113.5 kB / 16.63 MB, free: 6.812 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.001544/0.001544, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.278/1.278, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8852/0.8852, allocations: 119.3 MB / 410.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 0.4905 GB, free: 13.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4743/0.4755, allocations: 80.67 MB / 0.5693 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.002613/0.4781, allocations: 1.632 MB / 0.5709 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.4792, allocations: 0.8819 MB / 0.5718 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.556e-05/0.4793, allocations: 0 / 0.5718 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.4813, allocations: 3.456 MB / 0.5752 GB, free: 39.82 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.4827, allocations: 1.799 MB / 0.5769 GB, free: 38.9 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.483, allocations: 92.11 kB / 0.577 GB, free: 38.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003277/0.4863, allocations: 4.343 MB / 0.5812 GB, free: 36.73 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.4863, allocations: 4.812 kB / 0.5813 GB, free: 36.73 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003277/0.4896, allocations: 2.16 MB / 0.5834 GB, free: 35.45 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002887/0.4925, allocations: 4.072 MB / 0.5873 GB, free: 31.38 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003774/0.4929, allocations: 252 kB / 0.5876 GB, free: 31.13 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.4933, allocations: 288 kB / 0.5879 GB, free: 30.85 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006163/0.4995, allocations: 9.97 MB / 0.5976 GB, free: 20.85 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00482/0.5043, allocations: 5.639 MB / 0.6031 GB, free: 15.16 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.005749/0.5101, allocations: 12.17 MB / 0.615 GB, free: 2.922 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5101, allocations: 4 kB / 0.615 GB, free: 2.918 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5102, allocations: 0 / 0.615 GB, free: 2.918 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002298/0.5104, allocations: 0 / 0.615 GB, free: 2.918 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.02325/0.5336, allocations: 19.58 MB / 0.6341 GB, free: 15.11 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.5337, allocations: 11.89 kB / 0.6341 GB, free: 15.1 MB / 494.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.5338, allocations: 38.69 kB / 0.6341 GB, free: 15.06 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.5374, allocations: 2.206 MB / 0.6363 GB, free: 12.82 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04293/0.5803, allocations: 25.85 MB / 0.6615 GB, free: 2.781 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.5804, allocations: 4.312 kB / 0.6616 GB, free: 2.777 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.5804, allocations: 7.938 kB / 0.6616 GB, free: 2.77 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.5806, allocations: 45.67 kB / 0.6616 GB, free: 2.719 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.5806, allocations: 0 / 0.6616 GB, free: 2.719 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.5806, allocations: 0 / 0.6616 GB, free: 2.719 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5806, allocations: 0 / 0.6616 GB, free: 2.719 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.5807, allocations: 19.92 kB / 0.6616 GB, free: 2.699 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008123/0.5888, allocations: 6.95 MB / 0.6684 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.589, allocations: 54.55 kB / 0.6685 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.5891, allocations: 16.86 kB / 0.6685 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.5891, allocations: 3.984 kB / 0.6685 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.5893, allocations: 75.33 kB / 0.6686 GB, free: 11.53 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.5893, allocations: 0 / 0.6686 GB, free: 11.53 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.002764/0.5921, allocations: 2.351 MB / 0.6708 GB, free: 9.141 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.5921, allocations: 51.41 kB / 0.6709 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02895/0.6211, allocations: 25.36 MB / 0.6957 GB, free: 15.93 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.6212, allocations: 25.7 kB / 0.6957 GB, free: 15.89 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01037/0.6316, allocations: 11.35 MB / 0.7068 GB, free: 4.547 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.6316, allocations: 15.75 kB / 0.7068 GB, free: 4.531 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.6317, allocations: 21.72 kB / 0.7068 GB, free: 4.504 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.6318, allocations: 318 kB / 0.7071 GB, free: 4.188 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.6319, allocations: 12 kB / 0.7071 GB, free: 4.176 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.632, allocations: 29.64 kB / 0.7071 GB, free: 4.141 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.6321, allocations: 45.64 kB / 0.7072 GB, free: 4.09 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6321, allocations: 7.938 kB / 0.7072 GB, free: 4.082 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.003125/0.6352, allocations: 2.339 MB / 0.7095 GB, free: 1.707 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.6352, allocations: 8 kB / 0.7095 GB, free: 1.699 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6353, allocations: 0 / 0.7095 GB, free: 1.699 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.6353, allocations: 0 / 0.7095 GB, free: 1.699 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.6354, allocations: 11.98 kB / 0.7095 GB, free: 1.688 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6354, allocations: 4 kB / 0.7095 GB, free: 1.684 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.6379, allocations: 64 kB / 0.7096 GB, free: 1.621 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.6379, allocations: 4 kB / 0.7096 GB, free: 1.617 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.005927/0.6438, allocations: 4.763 MB / 0.7142 GB, free: 12.84 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002964/0.6468, allocations: 2.326 MB / 0.7165 GB, free: 10.48 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/0.6515, allocations: 2.561 MB / 0.719 GB, free: 7.922 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6516, allocations: 0 / 0.719 GB, free: 7.922 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6516, allocations: 0 / 0.719 GB, free: 7.922 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6516, allocations: 7.922 kB / 0.719 GB, free: 7.914 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.6624, allocations: 7.625 MB / 0.7264 GB, free: 244 kB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6624, allocations: 0 / 0.7264 GB, free: 244 kB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.6624, allocations: 4 kB / 0.7264 GB, free: 240 kB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.6624, allocations: 4.25 kB / 0.7265 GB, free: 236 kB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.6625, allocations: 11.98 kB / 0.7265 GB, free: 224 kB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.6625, allocations: 4 kB / 0.7265 GB, free: 220 kB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6625, allocations: 0 / 0.7265 GB, free: 220 kB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.6655, allocations: 2.563 MB / 0.729 GB, free: 13.6 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00285/0.6684, allocations: 1.796 MB / 0.7307 GB, free: 11.76 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001493/0.6699, allocations: 64 kB / 0.7308 GB, free: 11.7 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.6716, allocations: 71.98 kB / 0.7309 GB, free: 11.63 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.6716, allocations: 4 kB / 0.7309 GB, free: 11.62 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.6716, allocations: 4 kB / 0.7309 GB, free: 11.62 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02273/0.6944, allocations: 17.51 MB / 0.748 GB, free: 10.26 MB / 0.592 GB Notification: Performance of sort global known variables: time 1.523e-06/0.6944, allocations: 0 / 0.748 GB, free: 10.26 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.002294/0.6967, allocations: 0.6328 MB / 0.7486 GB, free: 9.629 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.003529/0.7002, allocations: 3.572 MB / 0.7521 GB, free: 6.16 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.7005, allocations: 47.91 kB / 0.7521 GB, free: 6.113 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7005, allocations: 0 / 0.7521 GB, free: 6.113 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.7005, allocations: 16 kB / 0.7521 GB, free: 6.098 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/0.7046, allocations: 1.714 MB / 0.7538 GB, free: 4.383 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.718/2.423, allocations: 373 MB / 1.118 GB, free: 166.1 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007596/2.43, allocations: 8.926 MB / 1.127 GB, free: 157.2 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.01341/2.444, allocations: 5.675 MB / 1.132 GB, free: 151.8 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00914/2.453, allocations: 10.38 MB / 1.142 GB, free: 141.4 MB / 0.686 GB Notification: Performance of SimCode: time 1.383e-06/2.453, allocations: 0 / 1.142 GB, free: 141.4 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6401/3.093, allocations: 287.3 MB / 1.423 GB, free: 83.59 MB / 0.686 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/3.093, allocations: 280.5 kB / 1.423 GB, free: 83.22 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/14.12, allocations: 0 / 1.423 GB, free: 83.22 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches