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.00227/0.00227, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.164/2.164, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001101/0.0011, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.2951/0.2951, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.762e-05, allocations: 0 / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4971/0.6303, allocations: 87.63 MB / 0.5585 GB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.6306, allocations: 73.56 kB / 0.5585 GB, free: 15.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01822/0.6488, allocations: 4.171 MB / 0.5626 GB, free: 11.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6489, allocations: 4 kB / 0.5626 GB, free: 11.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.6489, allocations: 4 kB / 0.5626 GB, free: 11.91 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.001126/0.65, allocations: 0.518 MB / 0.5631 GB, free: 11.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.6501, allocations: 8.031 kB / 0.5631 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.6502, allocations: 74.14 kB / 0.5632 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.6503, allocations: 27.72 kB / 0.5632 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.6506, allocations: 198.6 kB / 0.5634 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.6507, allocations: 30.52 kB / 0.5634 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/0.6508, allocations: 29.88 kB / 0.5635 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000697/0.6515, allocations: 269.9 kB / 0.5637 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.6516, allocations: 4 kB / 0.5637 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.6516, allocations: 9.75 kB / 0.5637 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.6516, allocations: 8 kB / 0.5638 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.6522, allocations: 203 kB / 0.5639 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.655, allocations: 1.04 MB / 0.565 GB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.6551, allocations: 32.64 kB / 0.565 GB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.6552, allocations: 27.66 kB / 0.565 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.6553, allocations: 0 / 0.565 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.6553, allocations: 34.56 kB / 0.5651 GB, free: 9.703 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/0.6553, allocations: 0 / 0.5651 GB, free: 9.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002314/0.6556, allocations: 64.44 kB / 0.5651 GB, free: 9.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.6556, allocations: 55.41 kB / 0.5652 GB, free: 9.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.6561, allocations: 283.8 kB / 0.5654 GB, free: 9.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.6562, allocations: 25.7 kB / 0.5655 GB, free: 9.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.6564, allocations: 289 kB / 0.5657 GB, free: 9.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.6564, allocations: 15.52 kB / 0.5657 GB, free: 9.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.6564, allocations: 3.375 kB / 0.5658 GB, free: 9.047 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6566, allocations: 329.2 kB / 0.5661 GB, free: 8.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.6568, allocations: 66.78 kB / 0.5661 GB, free: 8.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.657, allocations: 89.89 kB / 0.5662 GB, free: 8.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.6572, allocations: 67.42 kB / 0.5663 GB, free: 8.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.6572, allocations: 3.984 kB / 0.5663 GB, free: 8.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000545/0.6578, allocations: 206.3 kB / 0.5665 GB, free: 8.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.6578, allocations: 8 kB / 0.5665 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6579, allocations: 0 / 0.5665 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6579, allocations: 4.031 kB / 0.5665 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.6585, allocations: 51.97 kB / 0.5665 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.6585, allocations: 3.984 kB / 0.5665 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.659, allocations: 47.33 kB / 0.5666 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.659, allocations: 11.69 kB / 0.5666 GB, free: 8.293 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 () * 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.0001011/0.6591, allocations: 108.8 kB / 0.5667 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6593, allocations: 23.72 kB / 0.5667 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-05/0.6593, allocations: 20.77 kB / 0.5667 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.6594, allocations: 8 kB / 0.5668 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6594, allocations: 0 / 0.5668 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6594, allocations: 0 / 0.5668 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009315/0.6603, allocations: 0.5091 MB / 0.5673 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6603, allocations: 0 / 0.5673 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.6604, allocations: 0 / 0.5673 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.6604, allocations: 4 kB / 0.5673 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.6604, allocations: 0 / 0.5673 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.6605, allocations: 8 kB / 0.5673 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6605, allocations: 0 / 0.5673 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.6607, allocations: 114.9 kB / 0.5674 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.6608, allocations: 100.4 kB / 0.5675 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.6609, allocations: 0 / 0.5675 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.6611, allocations: 8.031 kB / 0.5675 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.6611, allocations: 7.953 kB / 0.5675 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.6611, allocations: 4 kB / 0.5675 GB, free: 7.348 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003574/0.6615, allocations: 216.9 kB / 0.5677 GB, free: 7.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6615, allocations: 0 / 0.5677 GB, free: 7.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003917/0.6619, allocations: 63.16 kB / 0.5678 GB, free: 7.121 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 () * 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.0006345/0.6625, allocations: 0.7092 MB / 0.5684 GB, free: 6.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.663, allocations: 107.5 kB / 0.5686 GB, free: 6.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.663, allocations: 0 / 0.5686 GB, free: 6.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.663, allocations: 15.12 kB / 0.5686 GB, free: 6.301 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.6634, allocations: 37.62 kB / 0.5686 GB, free: 6.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.6644, allocations: 310.7 kB / 0.5689 GB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.6649, allocations: 0.748 MB / 0.5696 GB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.6651, allocations: 74.72 kB / 0.5697 GB, free: 5.145 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6651, allocations: 0 / 0.5697 GB, free: 5.145 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.447/3.112, allocations: 3.699 MB / 0.5733 GB, free: 1.496 MB / 378.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