Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.691/1.691, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 90.17 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.286/1.286, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.676e-05/4.689e-05, allocations: 7.984 kB / 0.5289 GB, free: 1.195 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7308, allocations: 82.83 MB / 0.6098 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.9293, allocations: 128.5 MB / 0.7353 GB, free: 12.3 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.9296, allocations: 47.98 kB / 0.7353 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 5.076/6.005, allocations: 0.6147 GB / 1.35 GB, free: 160.3 MB / 0.6828 GB Notification: Performance of FrontEnd: time 2.655e-06/6.006, allocations: 0 / 1.35 GB, free: 160.3 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.006236/6.012, allocations: 0.4922 MB / 1.351 GB, free: 159.8 MB / 0.6828 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.06419/6.076, allocations: 24.83 MB / 1.375 GB, free: 137.8 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001181/6.076, allocations: 8.031 kB / 1.375 GB, free: 137.8 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/6.088, allocations: 4.535 MB / 1.379 GB, free: 133.2 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1586/6.247, allocations: 44.64 MB / 1.423 GB, free: 91.11 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/6.247, allocations: 4 kB / 1.423 GB, free: 91.11 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/6.247, allocations: 0 / 1.423 GB, free: 91.11 MB / 0.6828 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001263/6.247, allocations: 15.98 kB / 1.423 GB, free: 91.09 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/6.247, allocations: 41.69 kB / 1.423 GB, free: 91.04 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/6.247, allocations: 0 / 1.423 GB, free: 91.04 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/6.247, allocations: 11.94 kB / 1.423 GB, free: 91.03 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/6.247, allocations: 4 kB / 1.423 GB, free: 91.03 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04276/6.29, allocations: 13.43 MB / 1.436 GB, free: 77.55 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/6.291, allocations: 54.55 kB / 1.436 GB, free: 77.49 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.295e-05/6.291, allocations: 16.86 kB / 1.436 GB, free: 77.47 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/6.291, allocations: 4.078 kB / 1.436 GB, free: 77.46 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/6.291, allocations: 59.31 kB / 1.436 GB, free: 77.39 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=5): time 2.995e-06/6.291, allocations: 4 kB / 1.436 GB, free: 77.39 MB / 0.6828 GB Notification: Performance of matching and sorting (n=5): time 0.008441/6.299, allocations: 4.591 MB / 1.441 GB, free: 72.73 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/6.299, allocations: 51.41 kB / 1.441 GB, free: 72.67 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.108/6.407, allocations: 40.26 MB / 1.48 GB, free: 32.84 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/6.407, allocations: 29.7 kB / 1.48 GB, free: 32.8 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.0484/6.456, allocations: 22.42 MB / 1.502 GB, free: 10.37 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/6.456, allocations: 11.84 kB / 1.502 GB, free: 10.36 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/6.456, allocations: 0 / 1.502 GB, free: 10.36 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0001517/6.456, allocations: 317.9 kB / 1.502 GB, free: 10.04 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/6.456, allocations: 16 kB / 1.502 GB, free: 10.03 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/6.456, allocations: 21.72 kB / 1.502 GB, free: 10 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.821e-05/6.456, allocations: 15.98 kB / 1.502 GB, free: 9.984 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/6.456, allocations: 0 / 1.502 GB, free: 9.984 MB / 0.6828 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.01198/6.468, allocations: 4.587 MB / 1.507 GB, free: 5.332 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/6.469, allocations: 5.562 kB / 1.507 GB, free: 5.328 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/6.469, allocations: 7.938 kB / 1.507 GB, free: 5.32 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/6.469, allocations: 4.031 kB / 1.507 GB, free: 5.316 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/6.469, allocations: 8 kB / 1.507 GB, free: 5.309 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/6.469, allocations: 3.984 kB / 1.507 GB, free: 5.305 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008297/6.477, allocations: 135.8 kB / 1.507 GB, free: 5.172 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/6.477, allocations: 4 kB / 1.507 GB, free: 5.168 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001335/6.477, allocations: 104.9 kB / 1.507 GB, free: 5.059 MB / 0.6828 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01152/6.489, allocations: 4.712 MB / 1.512 GB, free: 288 kB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5723/7.061, allocations: 4.649 MB / 1.516 GB, free: 177 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02637/7.088, allocations: 5.191 MB / 1.521 GB, free: 176.5 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/7.088, allocations: 1.719 kB / 1.521 GB, free: 176.5 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/7.088, allocations: 0 / 1.521 GB, free: 176.5 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/7.088, allocations: 3.781 kB / 1.521 GB, free: 176.5 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05647/7.144, allocations: 14.77 MB / 1.536 GB, free: 172.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/7.144, allocations: 5.844 kB / 1.536 GB, free: 172.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/7.145, allocations: 5.938 kB / 1.536 GB, free: 172.6 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/7.145, allocations: 0 / 1.536 GB, free: 172.6 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/7.145, allocations: 0 / 1.536 GB, free: 172.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/7.145, allocations: 3.281 kB / 1.536 GB, free: 172.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/7.145, allocations: 0 / 1.536 GB, free: 172.6 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008468/7.153, allocations: 5.037 MB / 1.541 GB, free: 169.9 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009146/7.162, allocations: 3.88 MB / 1.544 GB, free: 167.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004887/7.167, allocations: 127.9 kB / 1.545 GB, free: 167.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005369/7.173, allocations: 126.1 kB / 1.545 GB, free: 167.3 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/7.173, allocations: 5.641 kB / 1.545 GB, free: 167.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/7.173, allocations: 0 / 1.545 GB, free: 167.3 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.09805/7.271, allocations: 31.59 MB / 1.575 GB, free: 158.8 MB / 0.6828 GB Notification: Performance of sort global known variables: time 7.41e-07/7.271, allocations: 3.969 kB / 1.575 GB, free: 158.8 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.006908/7.278, allocations: 1.245 MB / 1.577 GB, free: 158.8 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01169/7.289, allocations: 6.14 MB / 1.583 GB, free: 155.5 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.0001573/7.29, allocations: 35.56 kB / 1.583 GB, free: 155.5 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/7.29, allocations: 0 / 1.583 GB, free: 155.5 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/7.29, allocations: 25.75 kB / 1.583 GB, free: 155.5 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01314/7.303, allocations: 3.274 MB / 1.586 GB, free: 153.3 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1655/7.468, allocations: 66.09 MB / 1.651 GB, free: 110.6 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04316/7.512, allocations: 18.08 MB / 1.668 GB, free: 92.45 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.04028/7.552, allocations: 11.32 MB / 1.679 GB, free: 81.12 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03118/7.583, allocations: 21.7 MB / 1.7 GB, free: 59.42 MB / 0.6828 GB Notification: Performance of SimCode: time 1.864e-06/7.583, allocations: 4 kB / 1.7 GB, free: 59.41 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.883/9.466, allocations: 486.3 MB / 2.175 GB, free: 129.8 MB / 0.7453 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/9.466, allocations: 202.8 kB / 2.176 GB, free: 129.5 MB / 0.7453 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.5/40.97, allocations: 0 / 2.176 GB, free: 129.5 MB / 0.7453 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat does not exist to compare? outputFormat=mat