Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002327/0.002327, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001192/0.001192, allocations: 96.34 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5428/0.5428, allocations: 43.54 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000557/0.0005569, allocations: 11.98 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1437, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4839/0.6277, allocations: 87.72 MB / 0.5645 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.628, allocations: 78.77 kB / 0.5646 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01816/0.6462, allocations: 4.18 MB / 0.5686 GB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6463, allocations: 0 / 0.5686 GB, free: 10.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.6463, allocations: 4 kB / 0.5686 GB, free: 10.73 MB / 394.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.001187/0.6475, allocations: 0.5322 MB / 0.5692 GB, free: 10.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.6476, allocations: 8.031 kB / 0.5692 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.6477, allocations: 70.47 kB / 0.5692 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.6478, allocations: 35.06 kB / 0.5693 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.6481, allocations: 202.7 kB / 0.5695 GB, free: 9.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.6482, allocations: 24.66 kB / 0.5695 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.6483, allocations: 36 kB / 0.5695 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008025/0.6491, allocations: 274.1 kB / 0.5698 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.6491, allocations: 0 / 0.5698 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.6492, allocations: 12 kB / 0.5698 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.6492, allocations: 9.031 kB / 0.5698 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.6499, allocations: 214.5 kB / 0.57 GB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.6527, allocations: 1.049 MB / 0.571 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.6529, allocations: 30.56 kB / 0.5711 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.6529, allocations: 0 / 0.5711 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.6529, allocations: 30.56 kB / 0.5711 GB, free: 8.062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.653, allocations: 4 kB / 0.5711 GB, free: 8.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002897/0.6533, allocations: 73.52 kB / 0.5712 GB, free: 7.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.6533, allocations: 51.41 kB / 0.5712 GB, free: 7.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.6539, allocations: 301.9 kB / 0.5715 GB, free: 7.621 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.6539, allocations: 25.7 kB / 0.5715 GB, free: 7.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.6541, allocations: 285.3 kB / 0.5718 GB, free: 7.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.6542, allocations: 7.906 kB / 0.5718 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.6542, allocations: 4 kB / 0.5718 GB, free: 7.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6544, allocations: 330.9 kB / 0.5721 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.6546, allocations: 63.97 kB / 0.5722 GB, free: 6.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.6549, allocations: 89.67 kB / 0.5723 GB, free: 6.812 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.6552, allocations: 80.44 kB / 0.5723 GB, free: 6.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6552, allocations: 0 / 0.5723 GB, free: 6.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006833/0.6559, allocations: 225.4 kB / 0.5726 GB, free: 6.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6559, allocations: 8 kB / 0.5726 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.6559, allocations: 0 / 0.5726 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.656, allocations: 0 / 0.5726 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.6565, allocations: 63.89 kB / 0.5726 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.6565, allocations: 0 / 0.5726 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.657, allocations: 43.53 kB / 0.5727 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.657, allocations: 9.656 kB / 0.5727 GB, free: 6.387 MB / 394.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.0002156/0.6573, allocations: 141.7 kB / 0.5728 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.6574, allocations: 19.81 kB / 0.5728 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.999e-05/0.6574, allocations: 20.89 kB / 0.5729 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.6574, allocations: 0 / 0.5729 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6575, allocations: 8 kB / 0.5729 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6575, allocations: 0.6562 kB / 0.5729 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009636/0.6584, allocations: 0.5071 MB / 0.5734 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.6585, allocations: 8.062 kB / 0.5734 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.6586, allocations: 3.984 kB / 0.5734 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.6586, allocations: 4 kB / 0.5734 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.6586, allocations: 4.422 kB / 0.5734 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6586, allocations: 0 / 0.5734 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6586, allocations: 0 / 0.5734 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.6589, allocations: 115.4 kB / 0.5735 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.659, allocations: 104.8 kB / 0.5736 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.6591, allocations: 0 / 0.5736 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.6593, allocations: 7.984 kB / 0.5736 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.6593, allocations: 3.953 kB / 0.5736 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.6593, allocations: 0 / 0.5736 GB, free: 5.328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004373/0.6598, allocations: 225.9 kB / 0.5738 GB, free: 5.105 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6598, allocations: 0 / 0.5738 GB, free: 5.105 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004229/0.6602, allocations: 63.84 kB / 0.5739 GB, free: 5.043 MB / 394.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.0006333/0.6609, allocations: 0.7108 MB / 0.5746 GB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.6613, allocations: 115.9 kB / 0.5747 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6614, allocations: 0 / 0.5747 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.6614, allocations: 12 kB / 0.5747 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.6618, allocations: 29.64 kB / 0.5747 GB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.6648, allocations: 1.405 MB / 0.5761 GB, free: 2.672 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.6653, allocations: 0.7521 MB / 0.5768 GB, free: 1.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.6655, allocations: 79.41 kB / 0.5769 GB, free: 1.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6656, allocations: 0 / 0.5769 GB, free: 1.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.4/3.065, allocations: 3.738 MB / 0.5806 GB, free: 14.09 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat