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.001013/0.001014, allocations: 86.94 kB / 16.31 MB, free: 6.449 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.001105/0.001105, allocations: 180.8 kB / 17.21 MB, free: 6.32 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.509/1.509, allocations: 223.2 MB / 241.2 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.016/1.016, allocations: 120.5 MB / 412.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004869, allocations: 8 kB / 0.4944 GB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2022, allocations: 82.86 MB / 0.5753 GB, free: 8.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001526/0.2038, allocations: 1.122 MB / 0.5764 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000946/0.2047, allocations: 0.5147 MB / 0.5769 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.2048, allocations: 0 / 0.5769 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.2061, allocations: 1.9 MB / 0.5787 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.2076, allocations: 1.939 MB / 0.5806 GB, free: 2.523 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.208, allocations: 59.94 kB / 0.5807 GB, free: 2.465 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.5585/0.7665, allocations: 3.647 MB / 0.5842 GB, free: 11.91 MB / 446.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.758e-05/0.7667, allocations: 4.406 kB / 0.5842 GB, free: 11.91 MB / 446.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005268/0.7719, allocations: 2.231 MB / 0.5864 GB, free: 11.91 MB / 446.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01488/0.7869, allocations: 4.079 MB / 0.5904 GB, free: 11.88 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002916/0.7898, allocations: 255.1 kB / 0.5906 GB, free: 11.88 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.7918, allocations: 320 kB / 0.5909 GB, free: 11.88 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01406/0.8059, allocations: 9.962 MB / 0.6007 GB, free: 9.363 MB / 446.3 MB Notification: Performance of NFVerifyModel.verify: time 0.003971/0.8099, allocations: 1.988 MB / 0.6026 GB, free: 7.852 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.8239, allocations: 9.032 MB / 0.6114 GB, free: 3.191 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.824, allocations: 0 / 0.6114 GB, free: 3.191 MB / 446.3 MB Notification: Performance of FrontEnd: time 3.828e-06/0.824, allocations: 0 / 0.6114 GB, free: 3.191 MB / 446.3 MB Notification: Performance of Transformations before backend: time 0.001041/0.8251, allocations: 1.375 kB / 0.6114 GB, free: 3.191 MB / 446.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.03342/0.8585, allocations: 17.49 MB / 0.6285 GB, free: 1.902 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/0.8586, allocations: 12.03 kB / 0.6285 GB, free: 1.891 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.8586, allocations: 30.56 kB / 0.6286 GB, free: 1.852 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/0.8638, allocations: 2.209 MB / 0.6307 GB, free: 15.61 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0581/0.9219, allocations: 24.6 MB / 0.6547 GB, free: 6.844 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.922, allocations: 0 / 0.6547 GB, free: 6.844 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.9222, allocations: 64 kB / 0.6548 GB, free: 6.781 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.9233, allocations: 0.7867 MB / 0.6556 GB, free: 5.988 MB / 494.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.9233, allocations: 3.938 kB / 0.6556 GB, free: 5.984 MB / 494.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.9234, allocations: 60 kB / 0.6556 GB, free: 5.926 MB / 494.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.9234, allocations: 10.58 kB / 0.6556 GB, free: 5.918 MB / 494.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/0.9241, allocations: 459.8 kB / 0.6561 GB, free: 5.473 MB / 494.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.9411, allocations: 6.992 MB / 0.6629 GB, free: 14.43 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/0.9421, allocations: 286.6 kB / 0.6632 GB, free: 14.14 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.9425, allocations: 281.6 kB / 0.6634 GB, free: 13.86 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.9425, allocations: 0 / 0.6634 GB, free: 13.86 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008531/0.9434, allocations: 0.7182 MB / 0.6641 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/0.9434, allocations: 0 / 0.6641 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.007184/0.9506, allocations: 4.228 MB / 0.6683 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.9507, allocations: 81.11 kB / 0.6684 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0597/1.01, allocations: 24.77 MB / 0.6925 GB, free: 192 kB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0006135/1.011, allocations: 89.7 kB / 0.6926 GB, free: 96 kB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.01767/1.029, allocations: 10.83 MB / 0.7032 GB, free: 5.266 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007402/1.03, allocations: 75.81 kB / 0.7033 GB, free: 5.191 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004964/1.03, allocations: 64 kB / 0.7033 GB, free: 5.129 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.03, allocations: 318 kB / 0.7036 GB, free: 4.812 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009802/1.031, allocations: 262.6 kB / 0.7039 GB, free: 4.559 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/1.032, allocations: 275.9 kB / 0.7042 GB, free: 4.289 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/1.033, allocations: 293.7 kB / 0.7044 GB, free: 3.996 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.033, allocations: 0 / 0.7044 GB, free: 3.996 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006022/1.039, allocations: 3.97 MB / 0.7083 GB, free: 15.98 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 5.93e-05/1.039, allocations: 47.62 kB / 0.7084 GB, free: 15.93 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.039, allocations: 7.922 kB / 0.7084 GB, free: 15.92 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.039, allocations: 0 / 0.7084 GB, free: 15.92 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.74e-05/1.039, allocations: 8 kB / 0.7084 GB, free: 15.91 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/1.039, allocations: 0 / 0.7084 GB, free: 15.91 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/1.042, allocations: 71.84 kB / 0.7084 GB, free: 15.84 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008739/1.043, allocations: 0.8594 MB / 0.7093 GB, free: 14.98 MB / 0.5452 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01183/1.054, allocations: 4.905 MB / 0.7141 GB, free: 10.06 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004484/1.059, allocations: 2.264 MB / 0.7163 GB, free: 7.766 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009826/1.069, allocations: 2.561 MB / 0.7188 GB, free: 5.195 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/1.069, allocations: 0 / 0.7188 GB, free: 5.195 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.069, allocations: 11.94 kB / 0.7188 GB, free: 5.188 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.069, allocations: 0 / 0.7188 GB, free: 5.188 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0254/1.094, allocations: 7.617 MB / 0.7262 GB, free: 13.52 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.094, allocations: 0 / 0.7262 GB, free: 13.52 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/1.094, allocations: 4 kB / 0.7262 GB, free: 13.52 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/1.094, allocations: 0 / 0.7262 GB, free: 13.52 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/1.095, allocations: 193 kB / 0.7264 GB, free: 13.33 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/1.095, allocations: 3.953 kB / 0.7264 GB, free: 13.32 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.095, allocations: 0 / 0.7264 GB, free: 13.32 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007993/1.103, allocations: 4.166 MB / 0.7305 GB, free: 9.105 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004205/1.108, allocations: 1.98 MB / 0.7324 GB, free: 7.078 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002024/1.11, allocations: 68.53 kB / 0.7325 GB, free: 7.012 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/1.112, allocations: 68 kB / 0.7326 GB, free: 6.945 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/1.112, allocations: 3.953 kB / 0.7326 GB, free: 6.941 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007749/1.113, allocations: 0.8672 MB / 0.7334 GB, free: 6.074 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.03746/1.15, allocations: 17.18 MB / 0.7502 GB, free: 5.043 MB / 0.5764 GB Notification: Performance of sort global known variables: time 6.11e-07/1.15, allocations: 3.938 kB / 0.7502 GB, free: 5.039 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.003281/1.154, allocations: 0.6406 MB / 0.7508 GB, free: 4.398 MB / 0.5764 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006105/1.16, allocations: 4.931 MB / 0.7556 GB, free: 15.4 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001122/1.161, allocations: 0.683 MB / 0.7563 GB, free: 14.71 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.161, allocations: 0 / 0.7563 GB, free: 14.71 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.000599/1.162, allocations: 419.4 kB / 0.7567 GB, free: 14.29 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/1.167, allocations: 1.703 MB / 0.7584 GB, free: 12.58 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.061/3.228, allocations: 357.9 MB / 1.108 GB, free: 19.5 MB / 0.7329 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01268/3.24, allocations: 8.918 MB / 1.117 GB, free: 10.54 MB / 0.7329 GB Notification: Performance of simCode: alias equations: time 0.01531/3.256, allocations: 4.699 MB / 1.121 GB, free: 6.102 MB / 0.7329 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3788/3.635, allocations: 9.282 MB / 1.13 GB, free: 269.8 MB / 0.7329 GB Notification: Performance of SimCode: time 1.753e-06/3.635, allocations: 0 / 1.13 GB, free: 269.8 MB / 0.7329 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9087/4.543, allocations: 295.1 MB / 1.418 GB, free: 208.4 MB / 0.7329 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/4.544, allocations: 228.7 kB / 1.419 GB, free: 208.2 MB / 0.7329 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.51/23.05, allocations: 3.094 kB / 1.419 GB, free: 208.2 MB / 0.7329 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/linux/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) Environment - environmentSimulation: