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.001223/0.001223, allocations: 111.7 kB / 16.62 MB, free: 6.812 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.001244/0.001244, allocations: 190 kB / 17.55 MB, free: 5.934 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.278/1.278, allocations: 222.9 MB / 241.2 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8756/0.8756, allocations: 119.3 MB / 410.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 0.4905 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.482, allocations: 80.69 MB / 0.5693 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002195/0.4843, allocations: 1.471 MB / 0.5708 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.4851, allocations: 0.5681 MB / 0.5713 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.4851, allocations: 3.938 kB / 0.5713 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.4857, allocations: 0.8616 MB / 0.5722 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006201/0.4864, allocations: 0.8983 MB / 0.573 GB, free: 41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.4866, allocations: 77.92 kB / 0.5731 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.4882, allocations: 2.19 MB / 0.5753 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.4882, allocations: 2.562 kB / 0.5753 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.4896, allocations: 1.087 MB / 0.5763 GB, free: 39.37 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.4919, allocations: 2.043 MB / 0.5783 GB, free: 38.58 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.4923, allocations: 128.7 kB / 0.5784 GB, free: 38.58 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.4927, allocations: 201.5 kB / 0.5786 GB, free: 38.54 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00387/0.4965, allocations: 4.985 MB / 0.5835 GB, free: 35.31 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.4986, allocations: 2.828 MB / 0.5863 GB, free: 32.45 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.5019, allocations: 6.128 MB / 0.5922 GB, free: 26.29 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5019, allocations: 0 / 0.5922 GB, free: 26.29 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.104e-06/0.502, allocations: 4 kB / 0.5923 GB, free: 26.29 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001169/0.5021, allocations: 0 / 0.5923 GB, free: 26.29 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.008199/0.5103, allocations: 9.959 MB / 0.602 GB, free: 16.19 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.5104, allocations: 15.89 kB / 0.602 GB, free: 16.18 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.5104, allocations: 34.75 kB / 0.602 GB, free: 16.13 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009373/0.5113, allocations: 1.107 MB / 0.6031 GB, free: 15.01 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0158/0.5272, allocations: 12.95 MB / 0.6158 GB, free: 1.934 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.5272, allocations: 4.375 kB / 0.6158 GB, free: 1.93 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.5273, allocations: 32.38 kB / 0.6158 GB, free: 1.898 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.5277, allocations: 425.4 kB / 0.6162 GB, free: 1.477 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.5278, allocations: 0 / 0.6162 GB, free: 1.477 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-05/0.5278, allocations: 32 kB / 0.6162 GB, free: 1.445 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5278, allocations: 0 / 0.6162 GB, free: 1.445 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.5281, allocations: 244 kB / 0.6165 GB, free: 1.207 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.532, allocations: 3.572 MB / 0.6199 GB, free: 13.59 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.5323, allocations: 170.6 kB / 0.6201 GB, free: 13.41 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.5325, allocations: 156.9 kB / 0.6203 GB, free: 13.25 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.5325, allocations: 0 / 0.6203 GB, free: 13.25 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004901/0.533, allocations: 412.7 kB / 0.6207 GB, free: 12.84 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 2.234e-06/0.533, allocations: 3.938 kB / 0.6207 GB, free: 12.83 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.002767/0.5358, allocations: 2.192 MB / 0.6228 GB, free: 10.61 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.5359, allocations: 81.11 kB / 0.6229 GB, free: 10.52 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01533/0.5512, allocations: 12.47 MB / 0.6351 GB, free: 14.14 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.5514, allocations: 57.7 kB / 0.6351 GB, free: 14.08 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004667/0.5561, allocations: 5.204 MB / 0.6402 GB, free: 8.875 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.5563, allocations: 51.75 kB / 0.6402 GB, free: 8.824 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.5567, allocations: 241.7 kB / 0.6405 GB, free: 8.582 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.5568, allocations: 306 kB / 0.6408 GB, free: 8.277 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.557, allocations: 144 kB / 0.6409 GB, free: 8.137 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.5572, allocations: 144 kB / 0.641 GB, free: 7.996 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.5577, allocations: 356.2 kB / 0.6414 GB, free: 7.633 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5577, allocations: 0 / 0.6414 GB, free: 7.633 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00243/0.5602, allocations: 2.047 MB / 0.6434 GB, free: 5.559 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.5602, allocations: 37.69 kB / 0.6434 GB, free: 5.516 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5602, allocations: 0 / 0.6434 GB, free: 5.516 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5603, allocations: 7.984 kB / 0.6434 GB, free: 5.508 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.5603, allocations: 11.94 kB / 0.6434 GB, free: 5.496 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.5603, allocations: 0 / 0.6434 GB, free: 5.496 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.5614, allocations: 35.91 kB / 0.6435 GB, free: 5.461 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003285/0.5617, allocations: 448 kB / 0.6439 GB, free: 5.023 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 (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.003074/0.5648, allocations: 2.525 MB / 0.6464 GB, free: 2.48 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/0.5661, allocations: 1.138 MB / 0.6475 GB, free: 1.328 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.5678, allocations: 1.288 MB / 0.6487 GB, free: 32 kB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5678, allocations: 96 / 0.6487 GB, free: 32 kB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5679, allocations: 7.875 kB / 0.6487 GB, free: 24 kB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5679, allocations: 0 / 0.6487 GB, free: 24 kB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004302/0.5722, allocations: 3.888 MB / 0.6525 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.5722, allocations: 3.938 kB / 0.6525 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.5722, allocations: 8 kB / 0.6525 GB, free: 12.08 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5722, allocations: 0 / 0.6525 GB, free: 12.08 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.5724, allocations: 96 kB / 0.6526 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5724, allocations: 0 / 0.6526 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5724, allocations: 3.984 kB / 0.6526 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.5746, allocations: 2.166 MB / 0.6548 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.5758, allocations: 1.037 MB / 0.6558 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004488/0.5763, allocations: 36 kB / 0.6558 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005787/0.5769, allocations: 36 kB / 0.6558 GB, free: 8.637 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.5769, allocations: 8 kB / 0.6558 GB, free: 8.629 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003087/0.5772, allocations: 436 kB / 0.6563 GB, free: 8.203 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.009904/0.5871, allocations: 8.571 MB / 0.6646 GB, free: 15.71 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5872, allocations: 0 / 0.6646 GB, free: 15.71 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.001224/0.5884, allocations: 348 kB / 0.665 GB, free: 15.37 MB / 0.5139 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 (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.002747/0.5911, allocations: 2.818 MB / 0.6677 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0005959/0.5918, allocations: 423.3 kB / 0.6681 GB, free: 12.08 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5918, allocations: 0 / 0.6681 GB, free: 12.08 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.5921, allocations: 263.4 kB / 0.6684 GB, free: 11.81 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.5941, allocations: 0.8563 MB / 0.6692 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7444/1.339, allocations: 125.9 MB / 0.7922 GB, free: 170.2 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003878/1.342, allocations: 4.791 MB / 0.7969 GB, free: 167.6 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.005558/1.348, allocations: 2.43 MB / 0.7992 GB, free: 166.5 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003918/1.352, allocations: 4.399 MB / 0.8035 GB, free: 162.2 MB / 0.6079 GB Notification: Performance of SimCode: time 9.22e-07/1.352, allocations: 1.312 kB / 0.8035 GB, free: 162.2 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1851/1.537, allocations: 154.6 MB / 0.9545 GB, free: 7.824 MB / 0.6079 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/1.537, allocations: 243 kB / 0.9548 GB, free: 7.559 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/8.788, allocations: 0 / 0.9548 GB, free: 7.559 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/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)