Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500",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.001232/0.001231, allocations: 180.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009323/0.0009322, allocations: 90.17 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7092/0.7092, allocations: 120.5 MB / 463 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 12 kB / 0.5434 GB, free: 42.37 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 82.84 MB / 0.6243 GB, free: 9.133 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.666/0.8021, allocations: 129.2 MB / 0.7505 GB, free: 4.742 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001638/0.8023, allocations: 46.67 kB / 0.7506 GB, free: 4.723 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.08398/0.8863, allocations: 28.79 MB / 0.7787 GB, free: 9.832 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8863, allocations: 0 / 0.7787 GB, free: 9.832 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.0004679/0.8868, allocations: 64 kB / 0.7788 GB, free: 9.77 MB / 0.5419 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.007615/0.8944, allocations: 4.691 MB / 0.7833 GB, free: 5.25 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.8945, allocations: 12.02 kB / 0.7833 GB, free: 5.238 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.8946, allocations: 30.56 kB / 0.7834 GB, free: 5.199 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.8957, allocations: 0.5746 MB / 0.7839 GB, free: 4.617 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/0.9103, allocations: 5.73 MB / 0.7895 GB, free: 15.49 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.9104, allocations: 4 kB / 0.7895 GB, free: 15.49 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.9104, allocations: 0 / 0.7895 GB, free: 15.49 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.9105, allocations: 49.55 kB / 0.7896 GB, free: 15.44 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.9106, allocations: 0 / 0.7896 GB, free: 15.44 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.9106, allocations: 3.953 kB / 0.7896 GB, free: 15.43 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.9106, allocations: 0 / 0.7896 GB, free: 15.43 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.126e-05/0.9107, allocations: 15.92 kB / 0.7896 GB, free: 15.42 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.914, allocations: 1.865 MB / 0.7914 GB, free: 14.01 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.9142, allocations: 58.36 kB / 0.7915 GB, free: 13.95 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.9142, allocations: 3.984 kB / 0.7915 GB, free: 13.95 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.9144, allocations: 67.17 kB / 0.7916 GB, free: 13.88 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.9144, allocations: 3.938 kB / 0.7916 GB, free: 13.88 MB / 0.5575 GB Notification: Performance of matching and sorting (n=5): time 0.001357/0.9157, allocations: 0.6617 MB / 0.7922 GB, free: 13.21 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.9158, allocations: 63.23 kB / 0.7923 GB, free: 13.14 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/0.9264, allocations: 5.556 MB / 0.7977 GB, free: 8.625 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.9265, allocations: 25.7 kB / 0.7977 GB, free: 8.594 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002553/0.9291, allocations: 2.525 MB / 0.8002 GB, free: 7.922 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.9291, allocations: 11.75 kB / 0.8002 GB, free: 7.91 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-06/0.9292, allocations: 0 / 0.8002 GB, free: 7.91 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9293, allocations: 313.9 kB / 0.8005 GB, free: 7.602 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.827e-05/0.9294, allocations: 15.8 kB / 0.8005 GB, free: 7.59 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.9294, allocations: 29.52 kB / 0.8005 GB, free: 7.559 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.514e-05/0.9295, allocations: 19.44 kB / 0.8005 GB, free: 7.547 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9295, allocations: 0 / 0.8005 GB, free: 7.547 MB / 0.5575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001168/0.9307, allocations: 0.6423 MB / 0.8012 GB, free: 6.902 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.9307, allocations: 10.81 kB / 0.8012 GB, free: 6.895 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9308, allocations: 0 / 0.8012 GB, free: 6.895 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.9308, allocations: 0 / 0.8012 GB, free: 6.895 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/0.9309, allocations: 11.81 kB / 0.8012 GB, free: 6.887 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.9309, allocations: 8.031 kB / 0.8012 GB, free: 6.879 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.9316, allocations: 28.19 kB / 0.8012 GB, free: 6.852 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.9316, allocations: 4 kB / 0.8012 GB, free: 6.848 MB / 0.5575 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 () * Number of clocked 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.002405/0.934, allocations: 1.277 MB / 0.8025 GB, free: 5.684 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009666/0.935, allocations: 0.5941 MB / 0.8031 GB, free: 5.082 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.9368, allocations: 0.7339 MB / 0.8038 GB, free: 4.48 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.9368, allocations: 0 / 0.8038 GB, free: 4.48 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9368, allocations: 0 / 0.8038 GB, free: 4.48 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.9368, allocations: 4 kB / 0.8038 GB, free: 4.477 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/0.9412, allocations: 2.027 MB / 0.8058 GB, free: 2.898 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.9412, allocations: 0 / 0.8058 GB, free: 2.898 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.9413, allocations: 11.98 kB / 0.8058 GB, free: 2.887 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.9413, allocations: 0 / 0.8058 GB, free: 2.887 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.9413, allocations: 3.938 kB / 0.8058 GB, free: 2.887 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.9413, allocations: 0 / 0.8058 GB, free: 2.887 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.9414, allocations: 0 / 0.8058 GB, free: 2.887 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009361/0.9423, allocations: 0.7281 MB / 0.8065 GB, free: 2.148 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009846/0.9433, allocations: 0.5677 MB / 0.807 GB, free: 1.559 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/0.9436, allocations: 16 kB / 0.8071 GB, free: 1.543 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.944, allocations: 16 kB / 0.8071 GB, free: 1.527 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.944, allocations: 7.984 kB / 0.8071 GB, free: 1.52 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.944, allocations: 0 / 0.8071 GB, free: 1.52 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.005869/0.9499, allocations: 4.408 MB / 0.8114 GB, free: 14.02 MB / 0.5732 GB Notification: Performance of sort global known variables: time 1.643e-06/0.9499, allocations: 0 / 0.8114 GB, free: 14.02 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.0005483/0.9505, allocations: 187.7 kB / 0.8116 GB, free: 13.84 MB / 0.5732 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) * Number of clocked states: 0 () * 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.001791/0.9523, allocations: 1.606 MB / 0.8131 GB, free: 12.38 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.9525, allocations: 39.61 kB / 0.8132 GB, free: 12.35 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9525, allocations: 0 / 0.8132 GB, free: 12.35 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 5.965e-05/0.9525, allocations: 23.73 kB / 0.8132 GB, free: 12.33 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000838/0.9534, allocations: 451.8 kB / 0.8136 GB, free: 12.13 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08994/1.043, allocations: 42.74 MB / 0.8554 GB, free: 0.832 MB / 0.6044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003974/1.047, allocations: 2.826 MB / 0.8581 GB, free: 14.11 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.004244/1.052, allocations: 1.42 MB / 0.8595 GB, free: 12.74 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002529/1.054, allocations: 2.377 MB / 0.8618 GB, free: 12.14 MB / 0.62 GB Notification: Performance of SimCode: time 7.81e-07/1.054, allocations: 4 kB / 0.8618 GB, free: 12.13 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/1.173, allocations: 69.81 MB / 0.93 GB, free: 6.477 MB / 0.6825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/1.174, allocations: 250.3 kB / 0.9302 GB, free: 6.141 MB / 0.6825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.315/5.489, allocations: 2.812 kB / 0.9302 GB, free: 6.141 MB / 0.6825 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat does not exist to compare? outputFormat=mat