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.001035/0.001034, allocations: 109.5 kB / 16.51 MB, free: 6.707 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.001012/0.001012, allocations: 190.5 kB / 17.43 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.45/1.45, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.347/1.347, allocations: 119.3 MB / 410.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 0.4904 GB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6789/0.6801, allocations: 80.7 MB / 0.5692 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002627/0.6828, allocations: 1.466 MB / 0.5706 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000981/0.6838, allocations: 0.5809 MB / 0.5712 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.6839, allocations: 4 kB / 0.5712 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0007311/0.6846, allocations: 0.8668 MB / 0.572 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007802/0.6854, allocations: 0.9081 MB / 0.5729 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.6857, allocations: 52.52 kB / 0.5729 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002036/0.6877, allocations: 2.177 MB / 0.5751 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.6878, allocations: 6.734 kB / 0.5751 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.6899, allocations: 1.089 MB / 0.5761 GB, free: 39.4 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.6926, allocations: 1.921 MB / 0.578 GB, free: 38.62 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003528/0.693, allocations: 126.8 kB / 0.5781 GB, free: 38.62 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.6935, allocations: 202.9 kB / 0.5783 GB, free: 38.57 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.005248/0.6987, allocations: 4.984 MB / 0.5832 GB, free: 35.52 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002579/0.7013, allocations: 2.828 MB / 0.586 GB, free: 32.67 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004064/0.7054, allocations: 6.007 MB / 0.5918 GB, free: 26.63 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.7054, allocations: 0 / 0.5918 GB, free: 26.63 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.283e-06/0.7054, allocations: 0 / 0.5918 GB, free: 26.63 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001576/0.7056, allocations: 0 / 0.5918 GB, free: 26.63 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.009632/0.7152, allocations: 9.959 MB / 0.6016 GB, free: 16.53 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.7153, allocations: 16.03 kB / 0.6016 GB, free: 16.52 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.7154, allocations: 30.75 kB / 0.6016 GB, free: 16.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.7169, allocations: 1.103 MB / 0.6027 GB, free: 15.36 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01975/0.7366, allocations: 12.95 MB / 0.6153 GB, free: 2.281 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.7367, allocations: 384 / 0.6153 GB, free: 2.281 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.7368, allocations: 32.38 kB / 0.6154 GB, free: 2.25 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.7372, allocations: 433.4 kB / 0.6158 GB, free: 1.82 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7372, allocations: 0 / 0.6158 GB, free: 1.82 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.7373, allocations: 32 kB / 0.6158 GB, free: 1.789 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.7373, allocations: 3.938 kB / 0.6158 GB, free: 1.785 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.7376, allocations: 244 kB / 0.616 GB, free: 1.547 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004587/0.7422, allocations: 3.572 MB / 0.6195 GB, free: 13.93 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.7425, allocations: 166.5 kB / 0.6197 GB, free: 13.75 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.7428, allocations: 152.9 kB / 0.6198 GB, free: 13.6 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.7428, allocations: 48 / 0.6198 GB, free: 13.6 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005683/0.7434, allocations: 412.7 kB / 0.6202 GB, free: 13.18 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.7434, allocations: 4 kB / 0.6202 GB, free: 13.18 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.003027/0.7464, allocations: 2.188 MB / 0.6224 GB, free: 10.96 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.7465, allocations: 81.11 kB / 0.6224 GB, free: 10.86 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01612/0.7626, allocations: 12.46 MB / 0.6346 GB, free: 14.5 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0002164/0.7628, allocations: 61.7 kB / 0.6347 GB, free: 14.43 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005186/0.768, allocations: 5.2 MB / 0.6397 GB, free: 9.227 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.7684, allocations: 55.73 kB / 0.6398 GB, free: 9.176 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.7687, allocations: 241.7 kB / 0.64 GB, free: 8.934 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.7688, allocations: 314 kB / 0.6403 GB, free: 8.621 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.769, allocations: 144 kB / 0.6405 GB, free: 8.48 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.7692, allocations: 136 kB / 0.6406 GB, free: 8.348 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/0.7697, allocations: 360.3 kB / 0.6409 GB, free: 7.98 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7697, allocations: 3.938 kB / 0.6409 GB, free: 7.977 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003083/0.7728, allocations: 2.047 MB / 0.6429 GB, free: 5.902 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.369e-05/0.7729, allocations: 37.69 kB / 0.643 GB, free: 5.859 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7729, allocations: 240 / 0.643 GB, free: 5.859 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.7729, allocations: 0 / 0.643 GB, free: 5.859 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.773, allocations: 4 kB / 0.643 GB, free: 5.855 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.7731, allocations: 7.984 kB / 0.643 GB, free: 5.848 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.7743, allocations: 43.91 kB / 0.643 GB, free: 5.805 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003836/0.7747, allocations: 436 kB / 0.6434 GB, free: 5.379 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.004016/0.7787, allocations: 2.529 MB / 0.6459 GB, free: 2.832 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/0.7803, allocations: 1.138 MB / 0.647 GB, free: 1.68 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.7828, allocations: 1.292 MB / 0.6483 GB, free: 388 kB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.7828, allocations: 0 / 0.6483 GB, free: 388 kB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7828, allocations: 0 / 0.6483 GB, free: 388 kB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7828, allocations: 8 kB / 0.6483 GB, free: 380 kB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007648/0.7905, allocations: 3.884 MB / 0.6521 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.7906, allocations: 3.938 kB / 0.6521 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/0.7906, allocations: 4 kB / 0.6521 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.7907, allocations: 144 / 0.6521 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003797/0.791, allocations: 99.98 kB / 0.6522 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.7911, allocations: 0 / 0.6522 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.7911, allocations: 3.984 kB / 0.6522 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004679/0.7958, allocations: 2.166 MB / 0.6543 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/0.7985, allocations: 1.037 MB / 0.6553 GB, free: 9.059 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/0.7998, allocations: 32 kB / 0.6554 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.8011, allocations: 39.94 kB / 0.6554 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.8011, allocations: 7.984 kB / 0.6554 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004216/0.8016, allocations: 444 kB / 0.6558 GB, free: 8.547 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01856/0.8201, allocations: 8.567 MB / 0.6642 GB, free: 60 kB / 0.4983 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8202, allocations: 0 / 0.6642 GB, free: 60 kB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0026/0.8228, allocations: 344 kB / 0.6645 GB, free: 15.72 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.005972/0.8288, allocations: 2.818 MB / 0.6673 GB, free: 12.86 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009338/0.8298, allocations: 427.3 kB / 0.6677 GB, free: 12.43 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.8298, allocations: 0 / 0.6677 GB, free: 12.43 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.8303, allocations: 259.4 kB / 0.6679 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/0.835, allocations: 0.8562 MB / 0.6688 GB, free: 11.3 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8701/1.705, allocations: 125.9 MB / 0.7917 GB, free: 169.9 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003658/1.709, allocations: 4.787 MB / 0.7964 GB, free: 167.3 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.005565/1.714, allocations: 2.332 MB / 0.7987 GB, free: 166.3 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00363/1.718, allocations: 4.402 MB / 0.803 GB, free: 162.4 MB / 0.6079 GB Notification: Performance of SimCode: time 1.212e-06/1.718, allocations: 0 / 0.803 GB, free: 162.4 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2125/1.931, allocations: 153.1 MB / 0.9525 GB, free: 9.746 MB / 0.6079 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/1.931, allocations: 232.2 kB / 0.9527 GB, free: 9.488 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/10.47, allocations: 0 / 0.9527 GB, free: 9.488 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)