Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",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.001411/0.001411, allocations: 94.31 kB / 16.3 MB, free: 5.996 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.001656/0.001656, allocations: 183.7 kB / 17.2 MB, free: 5.914 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.535/1.535, allocations: 223.2 MB / 241.1 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.009/1.009, allocations: 120.4 MB / 412.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003223, allocations: 15.98 kB / 0.4943 GB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1887, allocations: 82.85 MB / 0.5752 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001834/0.1906, allocations: 1.122 MB / 0.5763 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009122/0.1915, allocations: 0.5186 MB / 0.5768 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.1916, allocations: 0 / 0.5768 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.192, allocations: 491.4 kB / 0.5772 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.1926, allocations: 0.5227 MB / 0.5777 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1929, allocations: 59.88 kB / 0.5778 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006869/0.1936, allocations: 0.7645 MB / 0.5785 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.1937, allocations: 7.984 kB / 0.5786 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.1942, allocations: 0.5773 MB / 0.5791 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.1954, allocations: 1.042 MB / 0.5801 GB, free: 2.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.1955, allocations: 64 kB / 0.5802 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.1957, allocations: 127.9 kB / 0.5803 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002671/0.1984, allocations: 2.331 MB / 0.5826 GB, free: 428 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.5947/0.7931, allocations: 0.517 MB / 0.5831 GB, free: 12.96 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004113/0.7973, allocations: 2.293 MB / 0.5853 GB, free: 12.45 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7973, allocations: 0 / 0.5853 GB, free: 12.45 MB / 446.3 MB Notification: Performance of FrontEnd: time 3.166e-06/0.7973, allocations: 0 / 0.5853 GB, free: 12.45 MB / 446.3 MB Notification: Performance of Transformations before backend: time 0.0001028/0.7974, allocations: 0.9375 kB / 0.5853 GB, free: 12.45 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.009568/0.807, allocations: 4.636 MB / 0.5899 GB, free: 9.508 MB / 446.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.8071, allocations: 12.28 kB / 0.5899 GB, free: 9.508 MB / 446.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.8071, allocations: 33.55 kB / 0.5899 GB, free: 9.469 MB / 446.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.8088, allocations: 0.5602 MB / 0.5905 GB, free: 9.148 MB / 446.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01898/0.8278, allocations: 6.224 MB / 0.5965 GB, free: 7.727 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.8279, allocations: 2.094 kB / 0.5965 GB, free: 7.727 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.828, allocations: 22.59 kB / 0.5966 GB, free: 7.727 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.8284, allocations: 234.5 kB / 0.5968 GB, free: 7.695 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.8284, allocations: 2.672 kB / 0.5968 GB, free: 7.695 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.8285, allocations: 16.72 kB / 0.5968 GB, free: 7.695 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.8285, allocations: 5.359 kB / 0.5968 GB, free: 7.691 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.8287, allocations: 132.4 kB / 0.5969 GB, free: 7.691 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/0.8336, allocations: 1.863 MB / 0.5988 GB, free: 7.047 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.8339, allocations: 105.7 kB / 0.5989 GB, free: 7.012 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.8339, allocations: 2.938 kB / 0.5989 GB, free: 7.012 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004197/0.8343, allocations: 255.2 kB / 0.5991 GB, free: 6.922 MB / 446.3 MB Notification: Performance of pre-optimization done (n=8): time 2.685e-06/0.8343, allocations: 1.062 kB / 0.5991 GB, free: 6.922 MB / 446.3 MB Notification: Performance of matching and sorting (n=8): time 0.002421/0.8368, allocations: 1.237 MB / 0.6003 GB, free: 6.43 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.8368, allocations: 80.89 kB / 0.6004 GB, free: 6.336 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01453/0.8514, allocations: 6.272 MB / 0.6065 GB, free: 4.121 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.8516, allocations: 42.52 kB / 0.6065 GB, free: 4.09 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.002342/0.854, allocations: 2.522 MB / 0.609 GB, free: 1.934 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.8541, allocations: 35.48 kB / 0.609 GB, free: 1.918 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.8542, allocations: 20.97 kB / 0.6091 GB, free: 1.914 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.8543, allocations: 311 kB / 0.6094 GB, free: 1.605 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.8544, allocations: 73.5 kB / 0.6094 GB, free: 1.602 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.8546, allocations: 90.17 kB / 0.6095 GB, free: 1.586 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.8548, allocations: 106.5 kB / 0.6096 GB, free: 1.547 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8548, allocations: 1.344 kB / 0.6096 GB, free: 1.547 MB / 446.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002008/0.8568, allocations: 1.084 MB / 0.6107 GB, free: 1.145 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.8568, allocations: 40.34 kB / 0.6107 GB, free: 1.105 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8569, allocations: 1.188 kB / 0.6107 GB, free: 1.105 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.8569, allocations: 0 / 0.6107 GB, free: 1.105 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.857, allocations: 3.75 kB / 0.6107 GB, free: 1.105 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.857, allocations: 4.312 kB / 0.6107 GB, free: 1.105 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.8577, allocations: 22.64 kB / 0.6107 GB, free: 1.102 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.858, allocations: 222.6 kB / 0.611 GB, free: 1.07 MB / 446.3 MB 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.002615/0.8606, allocations: 1.336 MB / 0.6123 GB, free: 0.5195 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005495/0.8611, allocations: 0.5698 MB / 0.6128 GB, free: 212 kB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.8622, allocations: 0.6506 MB / 0.6135 GB, free: 15.92 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.8622, allocations: 0 / 0.6135 GB, free: 15.92 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.8622, allocations: 6.938 kB / 0.6135 GB, free: 15.92 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.8622, allocations: 0 / 0.6135 GB, free: 15.92 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.865, allocations: 2.031 MB / 0.6154 GB, free: 14.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.865, allocations: 0 / 0.6154 GB, free: 14.75 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.865, allocations: 2.375 kB / 0.6155 GB, free: 14.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.865, allocations: 2.094 kB / 0.6155 GB, free: 14.75 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.048e-05/0.8651, allocations: 49.03 kB / 0.6155 GB, free: 14.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.8651, allocations: 4.375 kB / 0.6155 GB, free: 14.75 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8652, allocations: 0 / 0.6155 GB, free: 14.75 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.867, allocations: 1.167 MB / 0.6166 GB, free: 14.18 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.868, allocations: 0.564 MB / 0.6172 GB, free: 13.59 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.8683, allocations: 20 kB / 0.6172 GB, free: 13.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.8687, allocations: 19 kB / 0.6172 GB, free: 13.56 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.8687, allocations: 12.03 kB / 0.6172 GB, free: 13.55 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/0.869, allocations: 228.6 kB / 0.6175 GB, free: 13.32 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.008782/0.8778, allocations: 4.305 MB / 0.6217 GB, free: 9.059 MB / 462.3 MB Notification: Performance of sort global known variables: time 2e-07/0.8778, allocations: 4 kB / 0.6217 GB, free: 9.055 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.001342/0.8791, allocations: 188 kB / 0.6218 GB, free: 8.871 MB / 462.3 MB 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.001915/0.8811, allocations: 1.774 MB / 0.6236 GB, free: 7.066 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.8816, allocations: 279.3 kB / 0.6238 GB, free: 6.781 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8816, allocations: 0 / 0.6238 GB, free: 6.781 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.8818, allocations: 190.4 kB / 0.624 GB, free: 6.586 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.8829, allocations: 425.2 kB / 0.6244 GB, free: 6.168 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1448/1.028, allocations: 42.33 MB / 0.6658 GB, free: 8.566 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002616/1.03, allocations: 2.817 MB / 0.6685 GB, free: 5.727 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.00286/1.033, allocations: 1.138 MB / 0.6696 GB, free: 4.59 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/1.035, allocations: 2.093 MB / 0.6717 GB, free: 2.5 MB / 0.4983 GB Notification: Performance of SimCode: time 1.052e-06/1.035, allocations: 0 / 0.6717 GB, free: 2.5 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/1.169, allocations: 74.41 MB / 0.7443 GB, free: 8.145 MB / 0.5764 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/1.169, allocations: 214 kB / 0.7445 GB, free: 7.902 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.013/6.182, allocations: 0 / 0.7445 GB, free: 7.902 MB / 0.5764 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) Environment - environmentSimulation: