Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_8000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_8000",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.001355/0.001355, allocations: 87.11 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.001258/0.001258, allocations: 176.9 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.538/1.538, allocations: 223.2 MB / 241.2 MB, free: 288 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.155/1.155, allocations: 120.5 MB / 412.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003573, allocations: 8 kB / 0.4944 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5915, allocations: 82.84 MB / 0.5753 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.00191/0.5935, allocations: 1.126 MB / 0.5764 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.5946, allocations: 0.5193 MB / 0.5769 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.168e-05/0.5947, allocations: 4 kB / 0.5769 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006992/0.6018, allocations: 7.576 MB / 0.5843 GB, free: 37.17 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00316/0.605, allocations: 7.616 MB / 0.5917 GB, free: 29.54 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.6053, allocations: 62 kB / 0.5918 GB, free: 29.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00744/0.6128, allocations: 14.45 MB / 0.6059 GB, free: 15.01 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.771e-05/0.6129, allocations: 4 kB / 0.6059 GB, free: 15.01 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008865/0.6218, allocations: 8.824 MB / 0.6145 GB, free: 6.172 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01753/0.6394, allocations: 16.26 MB / 0.6304 GB, free: 5.887 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.004047/0.6435, allocations: 0.9804 MB / 0.6313 GB, free: 4.906 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003941/0.6474, allocations: 1.043 MB / 0.6324 GB, free: 3.863 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.03967/0.6871, allocations: 39.8 MB / 0.6712 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.01282/0.7, allocations: 7.85 MB / 0.6789 GB, free: 4.062 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.03949/0.7395, allocations: 35.95 MB / 0.714 GB, free: 4 kB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.7396, allocations: 0 / 0.714 GB, free: 4 kB / 0.5452 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7396, allocations: 0 / 0.714 GB, free: 4 kB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.002136/0.7417, allocations: 0 / 0.714 GB, free: 4 kB / 0.5452 GB 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.7591/1.501, allocations: 68.81 MB / 0.7812 GB, free: 94.18 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/1.501, allocations: 8.656 kB / 0.7812 GB, free: 94.18 MB / 0.5923 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.349e-05/1.501, allocations: 33.97 kB / 0.7812 GB, free: 94.14 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01996/1.521, allocations: 8.798 MB / 0.7898 GB, free: 88.13 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.292/1.813, allocations: 98.17 MB / 0.8857 GB, free: 6.445 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/1.813, allocations: 7.703 kB / 0.8857 GB, free: 6.441 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006688/1.814, allocations: 252 kB / 0.8859 GB, free: 6.195 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003486/1.817, allocations: 2.975 MB / 0.8888 GB, free: 3.211 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/1.817, allocations: 2.25 kB / 0.8888 GB, free: 3.211 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000472/1.818, allocations: 252 kB / 0.8891 GB, free: 2.965 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/1.818, allocations: 3.953 kB / 0.8891 GB, free: 2.961 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/1.82, allocations: 1.727 MB / 0.8908 GB, free: 1.234 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05727/1.877, allocations: 27.55 MB / 0.9177 GB, free: 5.609 MB / 0.6392 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/1.881, allocations: 1.014 MB / 0.9187 GB, free: 4.59 MB / 0.6392 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/1.883, allocations: 1.009 MB / 0.9197 GB, free: 3.578 MB / 0.6392 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/1.883, allocations: 0 / 0.9197 GB, free: 3.578 MB / 0.6392 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002835/1.886, allocations: 2.54 MB / 0.9221 GB, free: 1.02 MB / 0.6392 GB Notification: Performance of pre-optimization done (n=8): time 3.427e-06/1.886, allocations: 0 / 0.9221 GB, free: 1.02 MB / 0.6392 GB Notification: Performance of matching and sorting (n=8): time 0.02608/1.912, allocations: 16.5 MB / 0.9382 GB, free: 404 kB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/1.912, allocations: 88.78 kB / 0.9383 GB, free: 300 kB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2278/2.14, allocations: 98.83 MB / 1.035 GB, free: 14.33 MB / 0.7642 GB Notification: Performance of collectPreVariables (initialization): time 0.002952/2.143, allocations: 273.7 kB / 1.035 GB, free: 14.05 MB / 0.7642 GB Notification: Performance of collectInitialEqns (initialization): time 0.5474/2.691, allocations: 46.97 MB / 1.081 GB, free: 232.4 MB / 0.7642 GB Notification: Performance of collectInitialBindings (initialization): time 0.00269/2.693, allocations: 270 kB / 1.081 GB, free: 232.4 MB / 0.7642 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/2.695, allocations: 249.6 kB / 1.081 GB, free: 232.4 MB / 0.7642 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/2.695, allocations: 312.9 kB / 1.082 GB, free: 232 MB / 0.7642 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/2.698, allocations: 0.9907 MB / 1.083 GB, free: 232 MB / 0.7642 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/2.7, allocations: 0.9932 MB / 1.084 GB, free: 232 MB / 0.7642 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/2.701, allocations: 1.028 MB / 1.085 GB, free: 232 MB / 0.7642 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/2.701, allocations: 0.5156 kB / 1.085 GB, free: 232 MB / 0.7642 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02902/2.73, allocations: 15.51 MB / 1.1 GB, free: 231.9 MB / 0.7642 GB Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/2.731, allocations: 34.56 kB / 1.1 GB, free: 231.9 MB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/2.731, allocations: 0.5156 kB / 1.1 GB, free: 231.9 MB / 0.7642 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/2.731, allocations: 0 / 1.1 GB, free: 231.9 MB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/2.731, allocations: 3.891 kB / 1.1 GB, free: 231.9 MB / 0.7642 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/2.731, allocations: 11.59 kB / 1.1 GB, free: 231.9 MB / 0.7642 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01452/2.745, allocations: 251.1 kB / 1.1 GB, free: 231.9 MB / 0.7642 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006636/2.752, allocations: 3.425 MB / 1.103 GB, free: 231.4 MB / 0.7642 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.03446/2.786, allocations: 19.19 MB / 1.122 GB, free: 229.3 MB / 0.7642 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01493/2.801, allocations: 9.045 MB / 1.131 GB, free: 224.3 MB / 0.7642 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02533/2.827, allocations: 10.22 MB / 1.141 GB, free: 221.2 MB / 0.7642 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/2.827, allocations: 0 / 1.141 GB, free: 221.2 MB / 0.7642 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/2.827, allocations: 1.969 kB / 1.141 GB, free: 221.2 MB / 0.7642 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/2.827, allocations: 5.578 kB / 1.141 GB, free: 221.2 MB / 0.7642 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07222/2.899, allocations: 30 MB / 1.17 GB, free: 191.9 MB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/2.899, allocations: 0 / 1.17 GB, free: 191.9 MB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/2.899, allocations: 4 kB / 1.17 GB, free: 191.9 MB / 0.7642 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/2.899, allocations: 0.875 kB / 1.17 GB, free: 191.9 MB / 0.7642 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002817/2.902, allocations: 0.7422 MB / 1.171 GB, free: 191.2 MB / 0.7642 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/2.902, allocations: 1.969 kB / 1.171 GB, free: 191.2 MB / 0.7642 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/2.902, allocations: 2 kB / 1.171 GB, free: 191.2 MB / 0.7642 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02819/2.93, allocations: 16.13 MB / 1.187 GB, free: 174.9 MB / 0.7642 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02194/2.952, allocations: 7.655 MB / 1.194 GB, free: 167.1 MB / 0.7642 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01223/2.965, allocations: 256 kB / 1.195 GB, free: 166.9 MB / 0.7642 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01462/2.979, allocations: 259.7 kB / 1.195 GB, free: 166.6 MB / 0.7642 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/2.979, allocations: 4 kB / 1.195 GB, free: 166.6 MB / 0.7642 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005906/2.985, allocations: 3.424 MB / 1.198 GB, free: 163.2 MB / 0.7642 GB Notification: Performance of sorting global known variables: time 0.1254/3.111, allocations: 68.73 MB / 1.265 GB, free: 95.1 MB / 0.7642 GB Notification: Performance of sort global known variables: time 5.71e-07/3.111, allocations: 0 / 1.265 GB, free: 95.1 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.0136/3.124, allocations: 2.475 MB / 1.268 GB, free: 92.63 MB / 0.7642 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.02773/3.152, allocations: 17.64 MB / 1.285 GB, free: 74.85 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.006119/3.158, allocations: 2.331 MB / 1.287 GB, free: 72.51 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/3.158, allocations: 2 kB / 1.287 GB, free: 72.51 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/3.161, allocations: 1.328 MB / 1.288 GB, free: 71.17 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04254/3.203, allocations: 6.75 MB / 1.295 GB, free: 64.41 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 63.11/66.31, allocations: 4.266 GB / 5.561 GB, free: 298.8 MB / 0.9517 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07724/66.39, allocations: 34.38 MB / 5.595 GB, free: 264.3 MB / 0.9517 GB Notification: Performance of simCode: alias equations: time 0.06245/66.45, allocations: 18.65 MB / 5.613 GB, free: 246.7 MB / 0.9517 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03984/66.49, allocations: 40.92 MB / 5.653 GB, free: 205.8 MB / 0.9517 GB Notification: Performance of SimCode: time 2.625e-06/66.49, allocations: 2.656 kB / 5.653 GB, free: 205.8 MB / 0.9517 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.921/70.41, allocations: 1.158 GB / 6.811 GB, free: 189.7 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/70.41, allocations: 215.3 kB / 6.812 GB, free: 189.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 65.29/135.7, allocations: 0 / 6.812 GB, free: 189.4 MB / 1.014 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_8000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_8000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) Environment - environmentSimulation: