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.0008663/0.0008661, allocations: 86.67 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.001045/0.001045, allocations: 178.5 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.403/1.403, allocations: 223.3 MB / 241.2 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.021/1.021, allocations: 120.5 MB / 412.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 8 kB / 0.4944 GB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1935, allocations: 82.85 MB / 0.5753 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001632/0.1951, allocations: 1.126 MB / 0.5764 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.1961, allocations: 0.5147 MB / 0.5769 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.1962, allocations: 0 / 0.5769 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.1967, allocations: 491.4 kB / 0.5773 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005664/0.1972, allocations: 0.5188 MB / 0.5778 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.1975, allocations: 59.94 kB / 0.5779 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007638/0.1983, allocations: 0.9478 MB / 0.5788 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.1983, allocations: 3.984 kB / 0.5788 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.1989, allocations: 0.5851 MB / 0.5794 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009172/0.1998, allocations: 1.042 MB / 0.5804 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.1999, allocations: 64 kB / 0.5805 GB, free: 2.668 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.2002, allocations: 131.9 kB / 0.5806 GB, free: 2.539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002331/0.2025, allocations: 2.498 MB / 0.583 GB, free: 36 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.618/0.8205, allocations: 0.5201 MB / 0.5835 GB, free: 12.61 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003842/0.8244, allocations: 2.298 MB / 0.5858 GB, free: 12.1 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.8244, allocations: 1.688 kB / 0.5858 GB, free: 12.1 MB / 446.3 MB Notification: Performance of FrontEnd: time 2.594e-06/0.8244, allocations: 0 / 0.5858 GB, free: 12.1 MB / 446.3 MB Notification: Performance of Transformations before backend: time 0.0001319/0.8246, allocations: 0.875 kB / 0.5858 GB, free: 12.1 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.01012/0.8347, allocations: 4.639 MB / 0.5903 GB, free: 9.156 MB / 446.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.8348, allocations: 9.5 kB / 0.5903 GB, free: 9.156 MB / 446.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.142e-05/0.8348, allocations: 35.5 kB / 0.5904 GB, free: 9.117 MB / 446.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.8366, allocations: 0.5608 MB / 0.5909 GB, free: 8.797 MB / 446.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01856/0.8552, allocations: 6.22 MB / 0.597 GB, free: 7.375 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.8553, allocations: 0.625 kB / 0.597 GB, free: 7.375 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/0.8553, allocations: 17.88 kB / 0.597 GB, free: 7.375 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.8558, allocations: 240.4 kB / 0.5972 GB, free: 7.336 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.8558, allocations: 0 / 0.5972 GB, free: 7.336 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.8559, allocations: 20.11 kB / 0.5973 GB, free: 7.336 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.8559, allocations: 6.234 kB / 0.5973 GB, free: 7.332 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.8562, allocations: 130.1 kB / 0.5974 GB, free: 7.324 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004799/0.861, allocations: 1.863 MB / 0.5992 GB, free: 6.547 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.8613, allocations: 103 kB / 0.5993 GB, free: 6.516 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.8615, allocations: 90.64 kB / 0.5994 GB, free: 6.496 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.8615, allocations: 3.938 kB / 0.5994 GB, free: 6.492 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.862, allocations: 264.7 kB / 0.5996 GB, free: 6.398 MB / 446.3 MB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.862, allocations: 0 / 0.5996 GB, free: 6.398 MB / 446.3 MB Notification: Performance of matching and sorting (n=8): time 0.002394/0.8644, allocations: 1.156 MB / 0.6008 GB, free: 6 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.8644, allocations: 89.53 kB / 0.6009 GB, free: 5.898 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/0.8768, allocations: 6.261 MB / 0.607 GB, free: 3.766 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0002822/0.8772, allocations: 42.42 kB / 0.607 GB, free: 3.734 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.002539/0.8797, allocations: 2.519 MB / 0.6095 GB, free: 1.578 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.88, allocations: 43.58 kB / 0.6095 GB, free: 1.555 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.88, allocations: 16.09 kB / 0.6095 GB, free: 1.555 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.8801, allocations: 308.9 kB / 0.6098 GB, free: 1.25 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.8803, allocations: 82.34 kB / 0.6099 GB, free: 1.238 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.8805, allocations: 78.55 kB / 0.61 GB, free: 1.23 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.8807, allocations: 111.7 kB / 0.6101 GB, free: 1.188 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.8807, allocations: 2 kB / 0.6101 GB, free: 1.188 MB / 446.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002585/0.8833, allocations: 1.091 MB / 0.6112 GB, free: 0.7773 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.8834, allocations: 33.55 kB / 0.6112 GB, free: 0.7461 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8834, allocations: 0 / 0.6112 GB, free: 0.7461 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.8834, allocations: 1.125 kB / 0.6112 GB, free: 0.7461 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.8835, allocations: 7.672 kB / 0.6112 GB, free: 0.7461 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.8835, allocations: 0 / 0.6112 GB, free: 0.7461 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/0.8843, allocations: 27.16 kB / 0.6112 GB, free: 0.7383 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/0.8846, allocations: 221.9 kB / 0.6114 GB, free: 0.707 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.003018/0.8876, allocations: 1.339 MB / 0.6127 GB, free: 164 kB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/0.8882, allocations: 0.5679 MB / 0.6133 GB, free: 15.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009307/0.8892, allocations: 0.6474 MB / 0.6139 GB, free: 15.55 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.8892, allocations: 0 / 0.6139 GB, free: 15.55 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8892, allocations: 0 / 0.6139 GB, free: 15.55 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.8892, allocations: 2.375 kB / 0.6139 GB, free: 15.55 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.8919, allocations: 2.031 MB / 0.6159 GB, free: 14.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.8919, allocations: 0 / 0.6159 GB, free: 14.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.8919, allocations: 4.594 kB / 0.6159 GB, free: 14.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.892, allocations: 3.281 kB / 0.6159 GB, free: 14.39 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-05/0.892, allocations: 54.17 kB / 0.616 GB, free: 14.39 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8921, allocations: 3 kB / 0.616 GB, free: 14.39 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8921, allocations: 0 / 0.616 GB, free: 14.39 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.8938, allocations: 1.174 MB / 0.6171 GB, free: 13.82 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007351/0.8945, allocations: 0.5679 MB / 0.6177 GB, free: 13.22 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.8948, allocations: 19.44 kB / 0.6177 GB, free: 13.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.8951, allocations: 23 kB / 0.6177 GB, free: 13.19 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.8952, allocations: 3.984 kB / 0.6177 GB, free: 13.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/0.8954, allocations: 224 kB / 0.6179 GB, free: 12.96 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.008462/0.9038, allocations: 4.313 MB / 0.6221 GB, free: 8.691 MB / 462.3 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9039, allocations: 0 / 0.6221 GB, free: 8.691 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.001528/0.9054, allocations: 188 kB / 0.6223 GB, free: 8.508 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.002094/0.9075, allocations: 1.769 MB / 0.6241 GB, free: 6.703 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.908, allocations: 275.9 kB / 0.6243 GB, free: 6.422 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.908, allocations: 0 / 0.6243 GB, free: 6.422 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.9083, allocations: 190.4 kB / 0.6245 GB, free: 6.227 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.9096, allocations: 437.2 kB / 0.6249 GB, free: 5.797 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.157/1.067, allocations: 43.49 MB / 0.6674 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/1.069, allocations: 2.729 MB / 0.6701 GB, free: 4.281 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.002885/1.072, allocations: 1.131 MB / 0.6712 GB, free: 3.145 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/1.074, allocations: 2.093 MB / 0.6732 GB, free: 1.055 MB / 0.4983 GB Notification: Performance of SimCode: time 9.92e-07/1.074, allocations: 0 / 0.6732 GB, free: 1.055 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1353/1.209, allocations: 74.43 MB / 0.7459 GB, free: 6.684 MB / 0.5764 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/1.21, allocations: 234.1 kB / 0.7461 GB, free: 6.43 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.898/6.107, allocations: 0.5469 kB / 0.7461 GB, free: 6.43 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: