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.001532/0.001533, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001814/0.001814, allocations: 183.1 kB / 17.21 MB, free: 6.32 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.404/1.404, allocations: 223.3 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.089/1.089, allocations: 120.5 MB / 412.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.000322, allocations: 8 kB / 0.4943 GB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2008, allocations: 82.86 MB / 0.5753 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001659/0.2025, allocations: 1.103 MB / 0.5763 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.2034, allocations: 0.5148 MB / 0.5768 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.2035, allocations: 0 / 0.5768 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.2037, allocations: 15.97 kB / 0.5769 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.2039, allocations: 71.8 kB / 0.5769 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.2042, allocations: 51.94 kB / 0.577 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.2043, allocations: 67.83 kB / 0.577 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.2043, allocations: 3.984 kB / 0.577 GB, free: 6.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2045, allocations: 43.84 kB / 0.5771 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2046, allocations: 47.83 kB / 0.5771 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2046, allocations: 3.938 kB / 0.5771 GB, free: 6.078 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2048, allocations: 71.92 kB / 0.5772 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2049, allocations: 59.88 kB / 0.5773 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.2049, allocations: 45.58 kB / 0.5773 GB, free: 5.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.2051, allocations: 104 kB / 0.5774 GB, free: 5.797 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2051, allocations: 0 / 0.5774 GB, free: 5.797 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2051, allocations: 0 / 0.5774 GB, free: 5.797 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.2051, allocations: 0 / 0.5774 GB, free: 5.797 MB / 446.1 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.0005446/0.2057, allocations: 468.2 kB / 0.5778 GB, free: 5.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2057, allocations: 11.97 kB / 0.5779 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.2058, allocations: 34.52 kB / 0.5779 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.2058, allocations: 15.81 kB / 0.5779 GB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.2063, allocations: 307.3 kB / 0.5782 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.2063, allocations: 0 / 0.5782 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.2063, allocations: 4 kB / 0.5782 GB, free: 4.867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.2065, allocations: 49.69 kB / 0.5783 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2065, allocations: 4 kB / 0.5783 GB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2065, allocations: 4 kB / 0.5783 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2065, allocations: 3.953 kB / 0.5783 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.666e-05/0.2066, allocations: 23.92 kB / 0.5783 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.2068, allocations: 201.6 kB / 0.5785 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.098e-05/0.2069, allocations: 42.64 kB / 0.5785 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.2069, allocations: 28.94 kB / 0.5785 GB, free: 4.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.2069, allocations: 4 kB / 0.5786 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.2071, allocations: 105.1 kB / 0.5787 GB, free: 4.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.2072, allocations: 3.938 kB / 0.5787 GB, free: 4.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003659/0.2075, allocations: 171 kB / 0.5788 GB, free: 4.141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.2076, allocations: 85.05 kB / 0.5789 GB, free: 4.039 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.2078, allocations: 229.6 kB / 0.5791 GB, free: 3.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.2078, allocations: 25.7 kB / 0.5791 GB, free: 3.777 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.2079, allocations: 116.1 kB / 0.5793 GB, free: 3.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.208, allocations: 23.8 kB / 0.5793 GB, free: 3.637 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.208, allocations: 4 kB / 0.5793 GB, free: 3.633 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2081, allocations: 330.8 kB / 0.5796 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.592e-05/0.2082, allocations: 15.98 kB / 0.5796 GB, free: 3.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/0.2082, allocations: 20 kB / 0.5796 GB, free: 3.266 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.485e-05/0.2083, allocations: 53.67 kB / 0.5797 GB, free: 3.207 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2083, allocations: 0 / 0.5797 GB, free: 3.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001924/0.2085, allocations: 147.1 kB / 0.5798 GB, free: 3.051 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.2085, allocations: 37.7 kB / 0.5799 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2086, allocations: 4 kB / 0.5799 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2086, allocations: 0 / 0.5799 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.2087, allocations: 7.984 kB / 0.5799 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2087, allocations: 7.891 kB / 0.5799 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.2087, allocations: 4 kB / 0.5799 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.2088, allocations: 8 kB / 0.5799 GB, free: 2.977 MB / 446.1 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.0001702/0.2089, allocations: 174.2 kB / 0.5801 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.209, allocations: 19.81 kB / 0.5801 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.209, allocations: 25.39 kB / 0.5801 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.209, allocations: 0 / 0.5801 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.209, allocations: 0 / 0.5801 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.209, allocations: 3.953 kB / 0.5801 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.2092, allocations: 213.5 kB / 0.5803 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2092, allocations: 0 / 0.5803 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.2092, allocations: 4 kB / 0.5803 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2093, allocations: 3.938 kB / 0.5803 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2093, allocations: 8 kB / 0.5803 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2093, allocations: 0 / 0.5803 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2093, allocations: 0 / 0.5803 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.2095, allocations: 206.5 kB / 0.5805 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.2096, allocations: 104.8 kB / 0.5806 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.2096, allocations: 8 kB / 0.5806 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.2097, allocations: 4 kB / 0.5806 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.2097, allocations: 0 / 0.5806 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.2098, allocations: 12 kB / 0.5806 GB, free: 2.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.2099, allocations: 172.5 kB / 0.5808 GB, free: 1.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2099, allocations: 4 kB / 0.5808 GB, free: 1.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.2101, allocations: 39.98 kB / 0.5808 GB, free: 1.883 MB / 446.1 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.0005698/0.2107, allocations: 0.7542 MB / 0.5816 GB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.2109, allocations: 139.3 kB / 0.5817 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2109, allocations: 0 / 0.5817 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.211, allocations: 111.4 kB / 0.5818 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.2113, allocations: 20.66 kB / 0.5818 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5749/0.7862, allocations: 0.9986 MB / 0.5828 GB, free: 15.85 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.7866, allocations: 0.7254 MB / 0.5835 GB, free: 15.15 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.7868, allocations: 27.06 kB / 0.5836 GB, free: 15.15 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.7869, allocations: 45.39 kB / 0.5836 GB, free: 15.15 MB / 446.3 MB Notification: Performance of SimCode: time 2.354e-06/0.7869, allocations: 0 / 0.5836 GB, free: 15.15 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.8048, allocations: 3.143 MB / 0.5867 GB, free: 14.89 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.805, allocations: 192.6 kB / 0.5868 GB, free: 14.65 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.663, allocations: 0 / 0.5868 GB, free: 14.65 MB / 446.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: