Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_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.001353/0.001353, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.001351/0.001351, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.477/1.477, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.267/1.267, allocations: 119.3 MB / 410.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 71.89 kB / 0.4904 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.6594, allocations: 80.67 MB / 0.5692 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002278/0.6617, allocations: 1.472 MB / 0.5706 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008375/0.6625, allocations: 0.5999 MB / 0.5712 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.6626, allocations: 1.094 kB / 0.5712 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.6637, allocations: 1.717 MB / 0.5729 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.6649, allocations: 1.756 MB / 0.5746 GB, free: 39.65 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.6651, allocations: 51.91 kB / 0.5746 GB, free: 39.62 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.6687, allocations: 4.305 MB / 0.5788 GB, free: 37.53 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.418e-05/0.6687, allocations: 2.531 kB / 0.5788 GB, free: 37.53 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.6723, allocations: 2.138 MB / 0.5809 GB, free: 36.5 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006059/0.6784, allocations: 3.812 MB / 0.5846 GB, free: 34.04 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0005773/0.679, allocations: 252 kB / 0.5849 GB, free: 33.8 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.6796, allocations: 331.9 kB / 0.5852 GB, free: 33.47 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007571/0.6872, allocations: 9.951 MB / 0.5949 GB, free: 23.5 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.006842/0.694, allocations: 5.639 MB / 0.6004 GB, free: 17.8 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.007865/0.7019, allocations: 11.93 MB / 0.6121 GB, free: 5.809 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.702, allocations: 0 / 0.6121 GB, free: 5.809 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.643e-06/0.702, allocations: 4 kB / 0.6121 GB, free: 5.805 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0003861/0.7024, allocations: 0 / 0.6121 GB, free: 5.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0221/0.7245, allocations: 19.55 MB / 0.6312 GB, free: 2.023 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.7246, allocations: 8.031 kB / 0.6312 GB, free: 2.016 MB / 478.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.7246, allocations: 38.75 kB / 0.6312 GB, free: 1.969 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.727, allocations: 2.198 MB / 0.6334 GB, free: 15.73 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05144/0.7785, allocations: 25.83 MB / 0.6586 GB, free: 5.711 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.7785, allocations: 4.375 kB / 0.6586 GB, free: 5.707 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.7787, allocations: 64.38 kB / 0.6586 GB, free: 5.645 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.7797, allocations: 0.7862 MB / 0.6594 GB, free: 4.852 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.7797, allocations: 3.938 kB / 0.6594 GB, free: 4.848 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.7798, allocations: 64 kB / 0.6595 GB, free: 4.785 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.7798, allocations: 0 / 0.6595 GB, free: 4.785 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/0.7804, allocations: 456 kB / 0.6599 GB, free: 4.34 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.7914, allocations: 7 MB / 0.6667 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.7923, allocations: 286.6 kB / 0.667 GB, free: 13 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/0.7927, allocations: 276.8 kB / 0.6673 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.7928, allocations: 4 kB / 0.6673 GB, free: 12.72 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008451/0.7936, allocations: 0.715 MB / 0.668 GB, free: 11.99 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.404e-06/0.7936, allocations: 4 kB / 0.668 GB, free: 11.98 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.006284/0.7999, allocations: 4.228 MB / 0.6721 GB, free: 7.715 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.8, allocations: 81.11 kB / 0.6722 GB, free: 7.617 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04722/0.8473, allocations: 24.84 MB / 0.6965 GB, free: 14.98 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0004558/0.8478, allocations: 89.7 kB / 0.6965 GB, free: 14.89 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01303/0.8608, allocations: 10.83 MB / 0.7071 GB, free: 4.055 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.000717/0.8616, allocations: 75.72 kB / 0.7072 GB, free: 3.984 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006255/0.8622, allocations: 461.7 kB / 0.7076 GB, free: 3.527 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.8624, allocations: 318 kB / 0.7079 GB, free: 3.211 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.8629, allocations: 264 kB / 0.7082 GB, free: 2.953 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.8634, allocations: 271.9 kB / 0.7084 GB, free: 2.688 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009707/0.8643, allocations: 0.5862 MB / 0.709 GB, free: 2.086 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.8644, allocations: 4 kB / 0.709 GB, free: 2.082 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007348/0.8717, allocations: 3.975 MB / 0.7129 GB, free: 14.06 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 9.483e-05/0.8719, allocations: 44.14 kB / 0.7129 GB, free: 14.02 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.8719, allocations: 0 / 0.7129 GB, free: 14.02 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.8719, allocations: 144 / 0.7129 GB, free: 14.02 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.872, allocations: 4 kB / 0.7129 GB, free: 14.02 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.8721, allocations: 4 kB / 0.7129 GB, free: 14.01 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/0.8757, allocations: 67.94 kB / 0.713 GB, free: 13.95 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007655/0.8765, allocations: 0.8633 MB / 0.7139 GB, free: 13.08 MB / 0.5608 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.009182/0.8857, allocations: 4.901 MB / 0.7186 GB, free: 8.16 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004623/0.8904, allocations: 2.275 MB / 0.7209 GB, free: 5.855 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007029/0.8974, allocations: 2.561 MB / 0.7234 GB, free: 3.285 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.8974, allocations: 0 / 0.7234 GB, free: 3.285 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.8975, allocations: 0 / 0.7234 GB, free: 3.285 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.8975, allocations: 4 kB / 0.7234 GB, free: 3.281 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.9139, allocations: 7.617 MB / 0.7308 GB, free: 11.61 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.9139, allocations: 3.938 kB / 0.7308 GB, free: 11.61 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.585e-05/0.914, allocations: 8.031 kB / 0.7308 GB, free: 11.6 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.914, allocations: 3.938 kB / 0.7308 GB, free: 11.6 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000652/0.9147, allocations: 192 kB / 0.731 GB, free: 11.41 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.9147, allocations: 0 / 0.731 GB, free: 11.41 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9147, allocations: 0 / 0.731 GB, free: 11.41 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007166/0.9219, allocations: 4.162 MB / 0.7351 GB, free: 7.195 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005638/0.9276, allocations: 1.983 MB / 0.737 GB, free: 5.164 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003233/0.9308, allocations: 64 kB / 0.7371 GB, free: 5.102 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/0.9328, allocations: 71.98 kB / 0.7371 GB, free: 5.031 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.9329, allocations: 4 kB / 0.7371 GB, free: 5.027 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006314/0.9335, allocations: 0.8555 MB / 0.738 GB, free: 4.172 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03052/0.964, allocations: 17.24 MB / 0.7548 GB, free: 3.082 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.555e-06/0.9641, allocations: 0 / 0.7548 GB, free: 3.082 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.004785/0.9689, allocations: 0.6406 MB / 0.7554 GB, free: 2.441 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: 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.5565/1.525, allocations: 4.945 MB / 0.7603 GB, free: 158.7 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.001641/1.527, allocations: 0.6826 MB / 0.7609 GB, free: 158.6 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.527, allocations: 0 / 0.7609 GB, free: 158.6 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.0007446/1.528, allocations: 419.6 kB / 0.7613 GB, free: 158.6 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00571/1.534, allocations: 1.693 MB / 0.763 GB, free: 157.5 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.514/3.047, allocations: 374.1 MB / 1.128 GB, free: 153 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01362/3.061, allocations: 8.911 MB / 1.137 GB, free: 144.1 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.0132/3.074, allocations: 4.699 MB / 1.142 GB, free: 139.6 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01199/3.086, allocations: 9.267 MB / 1.151 GB, free: 130.4 MB / 0.686 GB Notification: Performance of SimCode: time 2.495e-06/3.086, allocations: 1.281 kB / 1.151 GB, free: 130.4 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7756/3.862, allocations: 305.6 MB / 1.449 GB, free: 60.59 MB / 0.686 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/3.862, allocations: 235.4 kB / 1.449 GB, free: 60.33 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.99/21.85, allocations: 0 / 1.449 GB, free: 60.33 MB / 0.686 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1)