Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",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.001126/0.001126, allocations: 89.27 kB / 16.3 MB, free: 6.133 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.001205/0.001205, allocations: 184.8 kB / 17.2 MB, free: 6.016 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.524/1.524, allocations: 223.2 MB / 241.1 MB, free: 14.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.283/1.283, allocations: 120.5 MB / 412.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004149, allocations: 11.98 kB / 0.4943 GB, free: 11.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6442/0.6447, allocations: 82.82 MB / 0.5751 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001505/0.6462, allocations: 1.096 MB / 0.5762 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.6472, allocations: 0.5247 MB / 0.5767 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.6473, allocations: 1.312 kB / 0.5767 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.6475, allocations: 15.08 kB / 0.5767 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.6478, allocations: 67.3 kB / 0.5768 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.648, allocations: 56.52 kB / 0.5769 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 9.089e-05/0.6481, allocations: 50.97 kB / 0.5769 GB, free: 40 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.6482, allocations: 2.344 kB / 0.5769 GB, free: 40 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.6483, allocations: 43.8 kB / 0.577 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.6484, allocations: 52.75 kB / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.6484, allocations: 6.875 kB / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.6485, allocations: 69.48 kB / 0.5771 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.6487, allocations: 56.36 kB / 0.5771 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.6487, allocations: 40.17 kB / 0.5772 GB, free: 39.84 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.6489, allocations: 104.7 kB / 0.5773 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.6489, allocations: 0 / 0.5773 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6489, allocations: 0 / 0.5773 GB, free: 39.79 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.6489, allocations: 0 / 0.5773 GB, free: 39.79 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.0004419/0.6494, allocations: 454.1 kB / 0.5777 GB, free: 39.32 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.6494, allocations: 14.19 kB / 0.5777 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.6495, allocations: 39.61 kB / 0.5778 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.6495, allocations: 15.53 kB / 0.5778 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.6499, allocations: 309.7 kB / 0.5781 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.6499, allocations: 1.406 kB / 0.5781 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.65, allocations: 2.75 kB / 0.5781 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.6501, allocations: 50.5 kB / 0.5781 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.6501, allocations: 5.953 kB / 0.5781 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6501, allocations: 3.953 kB / 0.5781 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.6501, allocations: 1.938 kB / 0.5781 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/0.6502, allocations: 23.52 kB / 0.5782 GB, free: 38.92 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.6504, allocations: 204.1 kB / 0.5783 GB, free: 38.69 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.289e-05/0.6504, allocations: 39.45 kB / 0.5784 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.6505, allocations: 4.031 kB / 0.5784 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.6506, allocations: 101.8 kB / 0.5785 GB, free: 38.55 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.6506, allocations: 0 / 0.5785 GB, free: 38.55 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003377/0.651, allocations: 251.4 kB / 0.5787 GB, free: 38.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.651, allocations: 80.11 kB / 0.5788 GB, free: 38.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.6512, allocations: 227.8 kB / 0.579 GB, free: 38.09 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.6512, allocations: 31.92 kB / 0.579 GB, free: 38.05 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.6513, allocations: 119.3 kB / 0.5792 GB, free: 37.94 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.6513, allocations: 27.64 kB / 0.5792 GB, free: 37.92 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.6514, allocations: 1.125 kB / 0.5792 GB, free: 37.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.6514, allocations: 329.1 kB / 0.5795 GB, free: 37.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.168e-05/0.6515, allocations: 17.41 kB / 0.5795 GB, free: 37.59 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.6515, allocations: 20.23 kB / 0.5795 GB, free: 37.57 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.278e-05/0.6516, allocations: 50.11 kB / 0.5796 GB, free: 37.53 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6516, allocations: 0 / 0.5796 GB, free: 37.53 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001801/0.6518, allocations: 148.9 kB / 0.5797 GB, free: 37.43 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.6518, allocations: 32.58 kB / 0.5798 GB, free: 37.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6518, allocations: 0 / 0.5798 GB, free: 37.4 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.6518, allocations: 1.375 kB / 0.5798 GB, free: 37.4 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.6519, allocations: 4.125 kB / 0.5798 GB, free: 37.4 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.6519, allocations: 3.953 kB / 0.5798 GB, free: 37.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.652, allocations: 20.02 kB / 0.5798 GB, free: 37.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.652, allocations: 10.88 kB / 0.5798 GB, free: 37.38 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 ($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.0001138/0.6521, allocations: 170.8 kB / 0.58 GB, free: 37.22 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.6522, allocations: 17.44 kB / 0.58 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.6522, allocations: 21.39 kB / 0.58 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.6522, allocations: 1.344 kB / 0.58 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6522, allocations: 0 / 0.58 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6522, allocations: 7.891 kB / 0.58 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.6524, allocations: 215.3 kB / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6524, allocations: 4 kB / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.6524, allocations: 2.969 kB / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6524, allocations: 0 / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.6524, allocations: 3.469 kB / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6524, allocations: 1.188 kB / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6524, allocations: 0 / 0.5802 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.6527, allocations: 201.4 kB / 0.5804 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.6527, allocations: 92.77 kB / 0.5805 GB, free: 36.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.6528, allocations: 15.14 kB / 0.5805 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.6528, allocations: 3.75 kB / 0.5805 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.6529, allocations: 1.281 kB / 0.5805 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.6529, allocations: 11.36 kB / 0.5805 GB, free: 36.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001394/0.653, allocations: 173.3 kB / 0.5807 GB, free: 36.57 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.653, allocations: 0 / 0.5807 GB, free: 36.57 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002349/0.6533, allocations: 38.56 kB / 0.5807 GB, free: 36.56 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.0004656/0.6538, allocations: 0.7579 MB / 0.5815 GB, free: 35.87 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.654, allocations: 141.3 kB / 0.5816 GB, free: 35.76 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.654, allocations: 1.281 kB / 0.5816 GB, free: 35.76 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.953e-05/0.6541, allocations: 114.4 kB / 0.5817 GB, free: 35.66 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.6542, allocations: 15.48 kB / 0.5817 GB, free: 35.65 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.6556, allocations: 0.9813 MB / 0.5827 GB, free: 35 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.6558, allocations: 0.7293 MB / 0.5834 GB, free: 34.28 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.314e-05/0.6559, allocations: 27.3 kB / 0.5834 GB, free: 34.27 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.656, allocations: 45.89 kB / 0.5835 GB, free: 34.23 MB / 462.3 MB Notification: Performance of SimCode: time 7.51e-07/0.656, allocations: 4 kB / 0.5835 GB, free: 34.23 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.6726, allocations: 3.125 MB / 0.5865 GB, free: 32.78 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.6729, allocations: 200.1 kB / 0.5867 GB, free: 32.54 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.499, allocations: 1.219 kB / 0.5867 GB, free: 32.54 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) Environment - environmentSimulation: