Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.847/1.847, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 85.86 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.009e-05/6.012e-05, allocations: 4 kB / 350.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1756, allocations: 51.49 MB / 402.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5309/0.7065, allocations: 79.85 MB / 482 MB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004324/0.7071, allocations: 70.03 kB / 482 MB, free: 9.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01906/0.7262, allocations: 6.543 MB / 488.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.898e-06/0.7263, allocations: 0 / 488.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.7263, allocations: 0 / 488.6 MB, free: 4.328 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007063/0.727, allocations: 442.7 kB / 489 MB, free: 3.859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.879e-05/0.7271, allocations: 12.03 kB / 489 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.179e-05/0.7272, allocations: 105.8 kB / 489.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.967e-05/0.7273, allocations: 79.28 kB / 489.2 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.7276, allocations: 242.3 kB / 489.4 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/0.7277, allocations: 155.4 kB / 489.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.7278, allocations: 153.1 kB / 489.7 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.434e-05/0.7279, allocations: 104.6 kB / 489.8 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.7279, allocations: 79.28 kB / 489.9 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.728, allocations: 154.6 kB / 490.1 MB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.7281, allocations: 150.6 kB / 490.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.7281, allocations: 150.6 kB / 490.4 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.7285, allocations: 449.6 kB / 490.8 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.453e-05/0.7286, allocations: 176.6 kB / 491 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.7286, allocations: 80.14 kB / 491.1 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.7286, allocations: 75.28 kB / 491.1 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.7288, allocations: 47.36 kB / 491.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 3.517e-06/0.7288, allocations: 0 / 491.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001781/0.729, allocations: 44.91 kB / 491.2 MB, free: 1.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.7291, allocations: 54.09 kB / 491.3 MB, free: 1.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.7292, allocations: 93 kB / 491.4 MB, free: 1.359 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.7292, allocations: 28.83 kB / 491.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.7293, allocations: 80.14 kB / 491.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.7293, allocations: 0 / 491.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.7293, allocations: 0 / 491.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.7294, allocations: 318.8 kB / 491.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.7295, allocations: 7.781 kB / 491.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-06/0.7295, allocations: 0 / 491.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.61e-05/0.7295, allocations: 0 / 491.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7295, allocations: 7.938 kB / 491.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.966e-05/0.7296, allocations: 33.64 kB / 491.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.7296, allocations: 7.953 kB / 491.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7296, allocations: 3.719 kB / 491.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.7296, allocations: 0 / 491.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.929e-05/0.7297, allocations: 4 kB / 491.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.7297, allocations: 8.078 kB / 491.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.7297, allocations: 0 / 491.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.7297, allocations: 0 / 491.8 MB, free: 0.8555 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.24e-05/0.7298, allocations: 101 kB / 491.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-06/0.7298, allocations: 4 kB / 492 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.7299, allocations: 7.078 kB / 492 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7299, allocations: 0 / 492 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7299, allocations: 0 / 492 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7299, allocations: 0 / 492 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.7301, allocations: 157 kB / 492.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.7301, allocations: 1.688 kB / 492.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-06/0.7301, allocations: 0 / 492.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.7301, allocations: 0 / 492.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.7301, allocations: 0 / 492.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7301, allocations: 3.953 kB / 492.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.7301, allocations: 0 / 492.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.494e-05/0.7302, allocations: 67.72 kB / 492.2 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.7303, allocations: 81.14 kB / 492.3 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.7303, allocations: 6.25 kB / 492.3 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.55e-05/0.7303, allocations: 3.984 kB / 492.3 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.7303, allocations: 3.953 kB / 492.3 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/0.7304, allocations: 0 / 492.3 MB, free: 360 kB / 346.7 MB Notification: Performance of sorting global known variables: time 4.902e-05/0.7304, allocations: 82.91 kB / 492.4 MB, free: 280 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7304, allocations: 0 / 492.4 MB, free: 280 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005935/0.731, allocations: 201.9 kB / 492.6 MB, free: 96 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.001967/0.733, allocations: 1.036 MB / 493.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.285e-05/0.7331, allocations: 7.625 kB / 493.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7331, allocations: 0 / 493.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.7331, allocations: 4 kB / 493.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.7333, allocations: 3.953 kB / 493.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.7338, allocations: 191 kB / 493.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.7343, allocations: 0.681 MB / 494.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.301e-05/0.7343, allocations: 15.98 kB / 494.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.7344, allocations: 11.44 kB / 494.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7344, allocations: 0 / 494.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.7617, allocations: 4.075 MB / 498.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/0.762, allocations: 198 kB / 498.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.87, allocations: 0 / 498.8 MB, free: 10.07 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat