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.001651/0.001651, allocations: 94.14 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.00204/0.00204, allocations: 181 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.463/1.463, allocations: 223.2 MB / 241.1 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9765/0.9765, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 11.98 kB / 0.4943 GB, free: 9.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1948, allocations: 82.84 MB / 0.5751 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.001558/0.1964, allocations: 1.118 MB / 0.5762 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.1974, allocations: 0.5225 MB / 0.5768 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.1974, allocations: 0 / 0.5768 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.8791/1.077, allocations: 7.577 MB / 0.5842 GB, free: 12.21 MB / 446.5 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/1.087, allocations: 7.619 MB / 0.5916 GB, free: 11.86 MB / 446.5 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/1.087, allocations: 53.5 kB / 0.5916 GB, free: 11.83 MB / 446.5 MB Notification: Performance of NFFlatten.flatten: time 0.01794/1.105, allocations: 11.76 MB / 0.6031 GB, free: 4.465 MB / 446.5 MB Notification: Performance of NFFlatten.resolveConnections: time 6.943e-05/1.105, allocations: 6.906 kB / 0.6031 GB, free: 4.465 MB / 446.5 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02039/1.126, allocations: 8.824 MB / 0.6117 GB, free: 0.5352 MB / 446.5 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03245/1.158, allocations: 16.26 MB / 0.6276 GB, free: 428 kB / 462.5 MB Notification: Performance of NFPackage.collectConstants: time 0.006054/1.164, allocations: 0.9817 MB / 0.6286 GB, free: 15.43 MB / 478.5 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005872/1.17, allocations: 1.04 MB / 0.6296 GB, free: 14.4 MB / 478.5 MB Notification: Performance of NFScalarize.scalarize: time 0.04224/1.213, allocations: 37.12 MB / 0.6658 GB, free: 9.988 MB / 0.4985 GB Notification: Performance of NFVerifyModel.verify: time 0.0133/1.226, allocations: 7.846 MB / 0.6735 GB, free: 2.09 MB / 0.4985 GB Notification: Performance of NFConvertDAE.convert: time 0.04188/1.268, allocations: 35.94 MB / 0.7086 GB, free: 14.04 MB / 0.5454 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.268, allocations: 0 / 0.7086 GB, free: 14.04 MB / 0.5454 GB Notification: Performance of FrontEnd: time 2.865e-06/1.268, allocations: 4.766 kB / 0.7086 GB, free: 14.04 MB / 0.5454 GB Notification: Performance of Transformations before backend: time 0.002049/1.27, allocations: 0 / 0.7086 GB, free: 14.04 MB / 0.5454 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.105/1.375, allocations: 68.82 MB / 0.7758 GB, free: 8.578 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 7.566e-05/1.375, allocations: 8.031 kB / 0.7758 GB, free: 8.57 MB / 0.6079 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.337e-05/1.375, allocations: 38.56 kB / 0.7759 GB, free: 8.523 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01835/1.393, allocations: 8.797 MB / 0.7844 GB, free: 15.61 MB / 0.6235 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8311/2.225, allocations: 98.18 MB / 0.8803 GB, free: 136.1 MB / 0.6548 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/2.225, allocations: 2.438 kB / 0.8803 GB, free: 136.1 MB / 0.6548 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002122/2.227, allocations: 255.5 kB / 0.8806 GB, free: 136.1 MB / 0.6548 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004495/2.231, allocations: 2.973 MB / 0.8835 GB, free: 135.3 MB / 0.6548 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/2.231, allocations: 0 / 0.8835 GB, free: 135.3 MB / 0.6548 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004977/2.232, allocations: 251.4 kB / 0.8837 GB, free: 135.3 MB / 0.6548 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/2.232, allocations: 0.8594 kB / 0.8837 GB, free: 135.3 MB / 0.6548 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/2.234, allocations: 1.734 MB / 0.8854 GB, free: 135.3 MB / 0.6548 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06038/2.295, allocations: 27.54 MB / 0.9123 GB, free: 119.6 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005392/2.3, allocations: 1.019 MB / 0.9133 GB, free: 119.6 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/2.3, allocations: 0.8438 kB / 0.9133 GB, free: 119.6 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004646/2.305, allocations: 2.536 MB / 0.9158 GB, free: 117.6 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=8): time 3.436e-06/2.305, allocations: 3.188 kB / 0.9158 GB, free: 117.6 MB / 0.6548 GB Notification: Performance of matching and sorting (n=8): time 0.03313/2.338, allocations: 16.58 MB / 0.932 GB, free: 100.9 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/2.338, allocations: 77.11 kB / 0.932 GB, free: 100.8 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1888/2.527, allocations: 98.82 MB / 1.029 GB, free: 2.82 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.004305/2.531, allocations: 280.1 kB / 1.029 GB, free: 2.543 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.07508/2.606, allocations: 47.01 MB / 1.075 GB, free: 3.711 MB / 0.7017 GB Notification: Performance of collectInitialBindings (initialization): time 0.003242/2.61, allocations: 270.8 kB / 1.075 GB, free: 3.453 MB / 0.7017 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002812/2.612, allocations: 252 kB / 1.075 GB, free: 3.207 MB / 0.7017 GB Notification: Performance of setup shared object (initialization): time 0.00016/2.613, allocations: 313.9 kB / 1.076 GB, free: 2.895 MB / 0.7017 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006931/2.62, allocations: 0.9883 MB / 1.076 GB, free: 1.906 MB / 0.7017 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005982/2.626, allocations: 0.9961 MB / 1.077 GB, free: 0.9102 MB / 0.7017 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005527/2.631, allocations: 1.024 MB / 1.078 GB, free: 15.88 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/2.631, allocations: 0 / 1.078 GB, free: 15.88 MB / 0.7173 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.04826/2.679, allocations: 15.51 MB / 1.094 GB, free: 256 kB / 0.7173 GB Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/2.68, allocations: 33.7 kB / 1.094 GB, free: 216 kB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/2.68, allocations: 0 / 1.094 GB, free: 216 kB / 0.7173 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/2.68, allocations: 96 / 1.094 GB, free: 216 kB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/2.68, allocations: 11.33 kB / 1.094 GB, free: 208 kB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/2.68, allocations: 4 kB / 1.094 GB, free: 204 kB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02211/2.702, allocations: 264.7 kB / 1.094 GB, free: 15.94 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01088/2.713, allocations: 3.422 MB / 1.097 GB, free: 12.52 MB / 0.7329 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.4846/3.197, allocations: 19.19 MB / 1.116 GB, free: 197.3 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02116/3.219, allocations: 9.041 MB / 1.125 GB, free: 197.3 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0314/3.25, allocations: 10.23 MB / 1.135 GB, free: 196.3 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/3.25, allocations: 0 / 1.135 GB, free: 196.3 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/3.25, allocations: 0.6562 kB / 1.135 GB, free: 196.3 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/3.25, allocations: 0 / 1.135 GB, free: 196.3 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07652/3.327, allocations: 30 MB / 1.164 GB, free: 194.4 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/3.327, allocations: 1.078 kB / 1.164 GB, free: 194.4 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.026e-05/3.327, allocations: 5.141 kB / 1.164 GB, free: 194.4 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/3.327, allocations: 0.875 kB / 1.164 GB, free: 194.4 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003375/3.33, allocations: 0.7341 MB / 1.165 GB, free: 194.4 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/3.33, allocations: 3 kB / 1.165 GB, free: 194.4 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/3.33, allocations: 0 / 1.165 GB, free: 194.4 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03416/3.364, allocations: 16.14 MB / 1.181 GB, free: 188.5 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03333/3.398, allocations: 7.653 MB / 1.188 GB, free: 180.7 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01361/3.411, allocations: 260.5 kB / 1.188 GB, free: 180.5 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01365/3.425, allocations: 253.6 kB / 1.189 GB, free: 180.2 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/3.425, allocations: 6.016 kB / 1.189 GB, free: 180.2 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.008083/3.433, allocations: 3.42 MB / 1.192 GB, free: 177.3 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.1189/3.552, allocations: 68.74 MB / 1.259 GB, free: 123.9 MB / 0.7329 GB Notification: Performance of sort global known variables: time 1.743e-06/3.552, allocations: 0 / 1.259 GB, free: 123.9 MB / 0.7329 GB Notification: Performance of remove unused functions: time 0.01595/3.568, allocations: 2.479 MB / 1.261 GB, free: 121.4 MB / 0.7329 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.04162/3.61, allocations: 17.63 MB / 1.279 GB, free: 103.6 MB / 0.7329 GB Notification: Performance of simCode: created initialization part: time 0.0108/3.621, allocations: 2.334 MB / 1.281 GB, free: 101.3 MB / 0.7329 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/3.621, allocations: 0 / 1.281 GB, free: 101.3 MB / 0.7329 GB Notification: Performance of simCode: created simulation system equations: time 0.004886/3.626, allocations: 1.33 MB / 1.282 GB, free: 100 MB / 0.7329 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02626/3.652, allocations: 6.505 MB / 1.289 GB, free: 97.43 MB / 0.7329 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 65.5/69.15, allocations: 4.248 GB / 5.537 GB, free: 337.7 MB / 0.936 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08466/69.24, allocations: 35.85 MB / 5.572 GB, free: 301.8 MB / 0.936 GB Notification: Performance of simCode: alias equations: time 0.08323/69.32, allocations: 18.65 MB / 5.59 GB, free: 284.1 MB / 0.936 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06519/69.38, allocations: 40.92 MB / 5.63 GB, free: 243.2 MB / 0.936 GB Notification: Performance of SimCode: time 2.495e-06/69.38, allocations: 2.656 kB / 5.63 GB, free: 243.2 MB / 0.936 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.109/73.49, allocations: 1.158 GB / 6.788 GB, free: 128.7 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/73.49, allocations: 216 kB / 6.788 GB, free: 128.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 61.33/134.8, allocations: 3.234 kB / 6.788 GB, free: 128.5 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: