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.001032/0.001033, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.000981/0.000981, allocations: 190 kB / 17.54 MB, free: 6.066 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.241/1.241, allocations: 222.9 MB / 241.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7794/0.7794, allocations: 119.3 MB / 410.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 55.91 kB / 0.4905 GB, free: 14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4344, allocations: 80.68 MB / 0.5693 GB, free: 43.14 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002232/0.4367, allocations: 1.474 MB / 0.5708 GB, free: 42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007548/0.4375, allocations: 0.5674 MB / 0.5713 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.4375, allocations: 0.9688 kB / 0.5713 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.4379, allocations: 440.5 kB / 0.5718 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.4383, allocations: 489.2 kB / 0.5722 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.4386, allocations: 74.34 kB / 0.5723 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008174/0.4394, allocations: 1.125 MB / 0.5734 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.4395, allocations: 6.297 kB / 0.5734 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00053/0.44, allocations: 0.5639 MB / 0.5739 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000823/0.4408, allocations: 1.036 MB / 0.575 GB, free: 39.82 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.441, allocations: 66.25 kB / 0.575 GB, free: 39.82 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.4412, allocations: 134.3 kB / 0.5752 GB, free: 39.79 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001888/0.4431, allocations: 2.5 MB / 0.5776 GB, free: 38.56 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0007844/0.4439, allocations: 1.422 MB / 0.579 GB, free: 37.35 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.4459, allocations: 3.101 MB / 0.582 GB, free: 35.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4459, allocations: 0 / 0.582 GB, free: 35.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4459, allocations: 0 / 0.582 GB, free: 35.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.527e-05/0.446, allocations: 0 / 0.582 GB, free: 35.38 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.005267/0.4512, allocations: 5.175 MB / 0.5871 GB, free: 31.44 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4513, allocations: 14.27 kB / 0.5871 GB, free: 31.44 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.4513, allocations: 31.94 kB / 0.5871 GB, free: 31.4 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006386/0.452, allocations: 0.557 MB / 0.5877 GB, free: 31.08 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007451/0.4594, allocations: 6.539 MB / 0.594 GB, free: 24.48 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4595, allocations: 384 / 0.594 GB, free: 24.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.4595, allocations: 16.38 kB / 0.5941 GB, free: 24.46 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.4598, allocations: 237.6 kB / 0.5943 GB, free: 24.22 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4598, allocations: 0 / 0.5943 GB, free: 24.22 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.4599, allocations: 24 kB / 0.5943 GB, free: 24.2 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4599, allocations: 0 / 0.5943 GB, free: 24.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.46, allocations: 132 kB / 0.5944 GB, free: 24.07 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.4616, allocations: 1.858 MB / 0.5962 GB, free: 22.16 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4617, allocations: 102.5 kB / 0.5963 GB, free: 22.05 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.4619, allocations: 92.86 kB / 0.5964 GB, free: 21.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.4619, allocations: 0 / 0.5964 GB, free: 21.96 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.4621, allocations: 260.9 kB / 0.5967 GB, free: 21.69 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.4621, allocations: 0 / 0.5967 GB, free: 21.69 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001079/0.4632, allocations: 1.168 MB / 0.5978 GB, free: 20.5 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.4633, allocations: 85.11 kB / 0.5979 GB, free: 20.4 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004872/0.4681, allocations: 6.271 MB / 0.604 GB, free: 14.17 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.4682, allocations: 45.64 kB / 0.6041 GB, free: 14.12 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.4697, allocations: 2.524 MB / 0.6065 GB, free: 11.59 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.4697, allocations: 39.69 kB / 0.6066 GB, free: 11.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.4699, allocations: 133.7 kB / 0.6067 GB, free: 11.42 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.88e-05/0.4699, allocations: 310 kB / 0.607 GB, free: 11.11 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.47, allocations: 80 kB / 0.6071 GB, free: 11.03 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-05/0.4701, allocations: 79.98 kB / 0.6071 GB, free: 10.95 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.4704, allocations: 224.3 kB / 0.6074 GB, free: 10.72 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4704, allocations: 0 / 0.6074 GB, free: 10.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009483/0.4713, allocations: 1.093 MB / 0.6084 GB, free: 9.605 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.4714, allocations: 33.7 kB / 0.6085 GB, free: 9.566 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4714, allocations: 3.984 kB / 0.6085 GB, free: 9.562 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4714, allocations: 11.98 kB / 0.6085 GB, free: 9.551 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.4715, allocations: 4 kB / 0.6085 GB, free: 9.547 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4715, allocations: 0 / 0.6085 GB, free: 9.547 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.4718, allocations: 23.91 kB / 0.6085 GB, free: 9.523 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.472, allocations: 220 kB / 0.6087 GB, free: 9.309 MB / 462.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 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001292/0.4733, allocations: 1.338 MB / 0.61 GB, free: 7.953 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.4736, allocations: 0.5746 MB / 0.6106 GB, free: 7.371 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004687/0.4741, allocations: 0.6441 MB / 0.6112 GB, free: 6.719 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4741, allocations: 4 kB / 0.6112 GB, free: 6.715 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4741, allocations: 0 / 0.6112 GB, free: 6.715 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4741, allocations: 4 kB / 0.6112 GB, free: 6.711 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.4754, allocations: 2.022 MB / 0.6132 GB, free: 4.641 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4754, allocations: 4.031 kB / 0.6132 GB, free: 4.637 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.4754, allocations: 3.938 kB / 0.6132 GB, free: 4.633 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4754, allocations: 7.984 kB / 0.6132 GB, free: 4.625 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.4755, allocations: 52 kB / 0.6133 GB, free: 4.574 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4755, allocations: 0 / 0.6133 GB, free: 4.574 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4755, allocations: 0 / 0.6133 GB, free: 4.574 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009275/0.4764, allocations: 1.172 MB / 0.6144 GB, free: 3.371 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004929/0.4769, allocations: 0.5678 MB / 0.615 GB, free: 2.777 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.4771, allocations: 16 kB / 0.615 GB, free: 2.762 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.4775, allocations: 20 kB / 0.615 GB, free: 2.742 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.4775, allocations: 7.922 kB / 0.615 GB, free: 2.734 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.4776, allocations: 224 kB / 0.6152 GB, free: 2.516 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005/0.4826, allocations: 4.328 MB / 0.6194 GB, free: 14.23 MB / 478.3 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4827, allocations: 0 / 0.6194 GB, free: 14.23 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.000776/0.4835, allocations: 192 kB / 0.6196 GB, free: 14.04 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00158/0.485, allocations: 1.775 MB / 0.6214 GB, free: 12.22 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004253/0.4855, allocations: 283.3 kB / 0.6216 GB, free: 11.93 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4855, allocations: 0 / 0.6216 GB, free: 11.93 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.4857, allocations: 183.4 kB / 0.6218 GB, free: 11.74 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.4869, allocations: 454 kB / 0.6222 GB, free: 11.3 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1231/0.6101, allocations: 48.01 MB / 0.6691 GB, free: 7.941 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002305/0.6124, allocations: 2.717 MB / 0.6718 GB, free: 5.199 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.002897/0.6153, allocations: 1.184 MB / 0.6729 GB, free: 4.008 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/0.6172, allocations: 2.095 MB / 0.675 GB, free: 1.914 MB / 0.5139 GB Notification: Performance of SimCode: time 1.172e-06/0.6173, allocations: 0 / 0.675 GB, free: 1.914 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/0.7399, allocations: 77.86 MB / 0.751 GB, free: 4.086 MB / 0.592 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/0.7402, allocations: 235.1 kB / 0.7512 GB, free: 3.824 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.595/4.335, allocations: 3.938 kB / 0.7512 GB, free: 3.82 MB / 0.592 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/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)