Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",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.0009868/0.0009868, allocations: 87.31 kB / 16.31 MB, free: 5.676 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.001242/0.001242, allocations: 182.2 kB / 17.21 MB, free: 5.598 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.483/1.483, allocations: 223.2 MB / 241.2 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.123/1.123, allocations: 120.5 MB / 412.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003201, allocations: 8 kB / 0.4944 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6581/0.6584, allocations: 82.84 MB / 0.5753 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.00157/0.66, allocations: 1.117 MB / 0.5764 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.661, allocations: 0.5279 MB / 0.5769 GB, free: 40.67 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.6611, allocations: 0 / 0.5769 GB, free: 40.67 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0009154/0.662, allocations: 0.9534 MB / 0.5778 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.6631, allocations: 0.9962 MB / 0.5788 GB, free: 39.83 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.6634, allocations: 52.22 kB / 0.5788 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.6652, allocations: 1.855 MB / 0.5806 GB, free: 38.75 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.517e-05/0.6652, allocations: 6.531 kB / 0.5806 GB, free: 38.75 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.6667, allocations: 1.132 MB / 0.5817 GB, free: 38.24 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003185/0.6699, allocations: 2.052 MB / 0.5837 GB, free: 37.42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003875/0.6703, allocations: 130.2 kB / 0.5839 GB, free: 37.41 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004917/0.6708, allocations: 193.2 kB / 0.5841 GB, free: 37.37 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00373/0.6746, allocations: 4.977 MB / 0.5889 GB, free: 32.38 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.6759, allocations: 1.015 MB / 0.5899 GB, free: 31.35 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.679, allocations: 4.539 MB / 0.5943 GB, free: 26.8 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.679, allocations: 0 / 0.5943 GB, free: 26.8 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.645e-06/0.679, allocations: 0 / 0.5943 GB, free: 26.8 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001507/0.6791, allocations: 4 kB / 0.5943 GB, free: 26.8 MB / 462.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.0102/0.6894, allocations: 8.919 MB / 0.6031 GB, free: 17.75 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.6894, allocations: 11.97 kB / 0.6031 GB, free: 17.74 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.6895, allocations: 38.48 kB / 0.6031 GB, free: 17.7 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.6914, allocations: 1.11 MB / 0.6042 GB, free: 16.57 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02397/0.7154, allocations: 12.34 MB / 0.6162 GB, free: 4.117 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.7155, allocations: 0 / 0.6162 GB, free: 4.117 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.7157, allocations: 36 kB / 0.6163 GB, free: 4.082 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/0.7163, allocations: 421.3 kB / 0.6167 GB, free: 3.664 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.7164, allocations: 4 kB / 0.6167 GB, free: 3.66 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/0.7164, allocations: 32 kB / 0.6167 GB, free: 3.629 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.7165, allocations: 3.953 kB / 0.6167 GB, free: 3.625 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.7168, allocations: 240 kB / 0.6169 GB, free: 3.391 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007207/0.724, allocations: 3.572 MB / 0.6204 GB, free: 15.77 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.7246, allocations: 162.5 kB / 0.6206 GB, free: 15.61 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.725, allocations: 160.9 kB / 0.6207 GB, free: 15.45 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.725, allocations: 4 kB / 0.6207 GB, free: 15.44 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006714/0.7257, allocations: 404.6 kB / 0.6211 GB, free: 15.03 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 5.07e-06/0.7257, allocations: 0 / 0.6211 GB, free: 15.03 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.003954/0.7297, allocations: 2.188 MB / 0.6233 GB, free: 12.81 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/0.7298, allocations: 96.98 kB / 0.6234 GB, free: 12.7 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02744/0.7573, allocations: 12.43 MB / 0.6355 GB, free: 372 kB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0003458/0.7577, allocations: 57.7 kB / 0.6356 GB, free: 308 kB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.007161/0.7649, allocations: 5.204 MB / 0.6406 GB, free: 11.09 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003646/0.7653, allocations: 55.66 kB / 0.6407 GB, free: 11.04 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.7655, allocations: 32 kB / 0.6407 GB, free: 11 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7656, allocations: 314 kB / 0.641 GB, free: 10.69 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.766, allocations: 140 kB / 0.6412 GB, free: 10.55 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.7663, allocations: 144 kB / 0.6413 GB, free: 10.41 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.7666, allocations: 173.6 kB / 0.6415 GB, free: 10.24 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7667, allocations: 0 / 0.6415 GB, free: 10.24 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003324/0.77, allocations: 2.047 MB / 0.6435 GB, free: 8.164 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/0.7701, allocations: 41.62 kB / 0.6435 GB, free: 8.117 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.7701, allocations: 4 kB / 0.6435 GB, free: 8.113 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-05/0.7701, allocations: 0 / 0.6435 GB, free: 8.113 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.7703, allocations: 4 kB / 0.6435 GB, free: 8.109 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.7703, allocations: 0 / 0.6435 GB, free: 8.109 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.7719, allocations: 43.95 kB / 0.6435 GB, free: 8.066 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003892/0.7723, allocations: 436 kB / 0.644 GB, free: 7.641 MB / 494.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.004699/0.777, allocations: 2.529 MB / 0.6464 GB, free: 5.094 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00213/0.7791, allocations: 1.13 MB / 0.6475 GB, free: 3.949 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.7824, allocations: 1.292 MB / 0.6488 GB, free: 2.648 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.7824, allocations: 0 / 0.6488 GB, free: 2.648 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7824, allocations: 0 / 0.6488 GB, free: 2.648 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.7825, allocations: 4 kB / 0.6488 GB, free: 2.645 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009496/0.792, allocations: 3.888 MB / 0.6526 GB, free: 14.71 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.792, allocations: 0 / 0.6526 GB, free: 14.71 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.7921, allocations: 7.938 kB / 0.6526 GB, free: 14.7 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.7921, allocations: 0 / 0.6526 GB, free: 14.7 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003824/0.7925, allocations: 99.98 kB / 0.6527 GB, free: 14.61 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.7925, allocations: 0 / 0.6527 GB, free: 14.61 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.7926, allocations: 240 / 0.6527 GB, free: 14.61 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/0.7967, allocations: 2.174 MB / 0.6548 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00265/0.7993, allocations: 1.037 MB / 0.6558 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/0.8005, allocations: 32 kB / 0.6559 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.8017, allocations: 36 kB / 0.6559 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.8018, allocations: 4 kB / 0.6559 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003978/0.8022, allocations: 444 kB / 0.6563 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01819/0.8204, allocations: 8.539 MB / 0.6647 GB, free: 2.359 MB / 0.4983 GB Notification: Performance of sort global known variables: time 6.01e-07/0.8205, allocations: 7.938 kB / 0.6647 GB, free: 2.352 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.002454/0.823, allocations: 344 kB / 0.665 GB, free: 2.016 MB / 0.4983 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.004564/0.8275, allocations: 2.806 MB / 0.6677 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007748/0.8284, allocations: 415.4 kB / 0.6681 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.8284, allocations: 4 kB / 0.6681 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.8288, allocations: 271.3 kB / 0.6684 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/0.8328, allocations: 0.8497 MB / 0.6692 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.006/1.838, allocations: 117.6 MB / 0.7841 GB, free: 175.2 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004926/1.843, allocations: 4.787 MB / 0.7887 GB, free: 172.6 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.005741/1.849, allocations: 2.329 MB / 0.791 GB, free: 171.6 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003853/1.853, allocations: 4.402 MB / 0.7953 GB, free: 167.7 MB / 0.6079 GB Notification: Performance of SimCode: time 1.293e-06/1.853, allocations: 0 / 0.7953 GB, free: 167.7 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2043/2.057, allocations: 147.9 MB / 0.9397 GB, free: 22.6 MB / 0.6079 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/2.058, allocations: 219.4 kB / 0.9399 GB, free: 22.36 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/10.24, allocations: 7.234 kB / 0.9399 GB, free: 22.35 MB / 0.6079 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) Environment - environmentSimulation: