Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009957/0.0009959, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2138/0.2138, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004171, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.5472, allocations: 87.72 MB / 0.5645 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.5475, allocations: 71.7 kB / 0.5646 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01112/0.5586, allocations: 4.183 MB / 0.5687 GB, free: 8.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5587, allocations: 0 / 0.5687 GB, free: 8.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.5587, allocations: 4 kB / 0.5687 GB, free: 8.371 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007684/0.5595, allocations: 0.5295 MB / 0.5692 GB, free: 7.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5596, allocations: 8.031 kB / 0.5692 GB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.898e-05/0.5596, allocations: 71.03 kB / 0.5693 GB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.5597, allocations: 31.62 kB / 0.5693 GB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.5599, allocations: 197.5 kB / 0.5695 GB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.56, allocations: 26.16 kB / 0.5695 GB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.5601, allocations: 33 kB / 0.5695 GB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.5606, allocations: 281.2 kB / 0.5698 GB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5606, allocations: 0 / 0.5698 GB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.5607, allocations: 11 kB / 0.5698 GB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.5607, allocations: 8 kB / 0.5698 GB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.5611, allocations: 224 kB / 0.57 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.5629, allocations: 1.041 MB / 0.5711 GB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.583e-05/0.563, allocations: 25.77 kB / 0.5711 GB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.563, allocations: 448 / 0.5711 GB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.5631, allocations: 38.5 kB / 0.5711 GB, free: 6.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5631, allocations: 4 kB / 0.5711 GB, free: 6.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000222/0.5633, allocations: 68.89 kB / 0.5712 GB, free: 6.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.5633, allocations: 55.34 kB / 0.5712 GB, free: 6.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.5637, allocations: 297.6 kB / 0.5715 GB, free: 5.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.5637, allocations: 26.2 kB / 0.5716 GB, free: 5.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.5639, allocations: 223.6 kB / 0.5718 GB, free: 5.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.5639, allocations: 14.33 kB / 0.5718 GB, free: 5.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.564, allocations: 3.812 kB / 0.5718 GB, free: 5.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5641, allocations: 339.8 kB / 0.5721 GB, free: 5.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.5643, allocations: 68.47 kB / 0.5722 GB, free: 5.152 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.5644, allocations: 89.17 kB / 0.5723 GB, free: 5.086 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.5646, allocations: 76.44 kB / 0.5723 GB, free: 5.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5646, allocations: 0 / 0.5723 GB, free: 5.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003748/0.565, allocations: 237.9 kB / 0.5726 GB, free: 4.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.565, allocations: 7.438 kB / 0.5726 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.565, allocations: 0 / 0.5726 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.5651, allocations: 4 kB / 0.5726 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.5654, allocations: 55.89 kB / 0.5726 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.5654, allocations: 0 / 0.5726 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.5656, allocations: 47.03 kB / 0.5727 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.5657, allocations: 7.375 kB / 0.5727 GB, free: 4.754 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001328/0.5658, allocations: 151.2 kB / 0.5728 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.5658, allocations: 19.72 kB / 0.5728 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.5659, allocations: 17.84 kB / 0.5729 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5659, allocations: 11.97 kB / 0.5729 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5659, allocations: 0 / 0.5729 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5659, allocations: 0 / 0.5729 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.5665, allocations: 0.5011 MB / 0.5734 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5665, allocations: 8.062 kB / 0.5734 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.5666, allocations: 0 / 0.5734 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.5666, allocations: 4 kB / 0.5734 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.5666, allocations: 0 / 0.5734 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.5666, allocations: 0 / 0.5734 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5666, allocations: 0 / 0.5734 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.5668, allocations: 121.4 kB / 0.5735 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.5668, allocations: 96.47 kB / 0.5736 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.5669, allocations: 3.938 kB / 0.5736 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.567, allocations: 7.938 kB / 0.5736 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.567, allocations: 11.19 kB / 0.5736 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.567, allocations: 4 kB / 0.5736 GB, free: 3.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002481/0.5673, allocations: 218.5 kB / 0.5738 GB, free: 3.605 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5673, allocations: 0 / 0.5738 GB, free: 3.605 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002699/0.5676, allocations: 63.22 kB / 0.5739 GB, free: 3.547 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004752/0.5681, allocations: 0.7075 MB / 0.5746 GB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.5683, allocations: 122.3 kB / 0.5747 GB, free: 2.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5683, allocations: 4 kB / 0.5747 GB, free: 2.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.035e-05/0.5684, allocations: 7.875 kB / 0.5747 GB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.5686, allocations: 20.53 kB / 0.5747 GB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.5704, allocations: 1.384 MB / 0.5761 GB, free: 1.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.5707, allocations: 0.7482 MB / 0.5768 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.5708, allocations: 25.94 kB / 0.5768 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.896e-05/0.5709, allocations: 72.66 kB / 0.5769 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.571, allocations: 0 / 0.5769 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.5861, allocations: 3.689 MB / 0.5805 GB, free: 12.95 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.5864, allocations: 177.6 kB / 0.5807 GB, free: 12.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.277, allocations: 3.938 kB / 0.5807 GB, free: 12.7 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat