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.001668/0.001668, allocations: 177.8 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009565/0.0009564, allocations: 90.62 kB / 261.7 MB, free: 1.672 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.2376/0.2376, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.356e-05/1.35e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5626, allocations: 86.96 MB / 0.5509 GB, free: 7.609 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.563, allocations: 71.58 kB / 0.551 GB, free: 7.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009826/0.5728, allocations: 4.143 MB / 0.5551 GB, free: 4.223 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5729, allocations: 0 / 0.5551 GB, free: 4.223 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.5729, allocations: 8 kB / 0.5551 GB, free: 4.215 MB / 362.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.0006396/0.5736, allocations: 0.5125 MB / 0.5556 GB, free: 3.676 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.5736, allocations: 8.031 kB / 0.5556 GB, free: 3.668 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.5737, allocations: 28.94 kB / 0.5556 GB, free: 3.641 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.5739, allocations: 204 kB / 0.5558 GB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.574, allocations: 28.2 kB / 0.5558 GB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.574, allocations: 19.94 kB / 0.5558 GB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003503/0.5744, allocations: 178.9 kB / 0.556 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.5748, allocations: 230.1 kB / 0.5562 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5748, allocations: 0 / 0.5562 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.5748, allocations: 0 / 0.5562 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.5749, allocations: 8 kB / 0.5562 GB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.5763, allocations: 0.9534 MB / 0.5572 GB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.428e-05/0.5764, allocations: 29.77 kB / 0.5572 GB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.5765, allocations: 20.42 kB / 0.5572 GB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.5765, allocations: 10.23 kB / 0.5572 GB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.5765, allocations: 41.12 kB / 0.5573 GB, free: 2.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5765, allocations: 0 / 0.5573 GB, free: 2.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001713/0.5767, allocations: 56.83 kB / 0.5573 GB, free: 2.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.5767, allocations: 55.34 kB / 0.5574 GB, free: 2.059 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.5769, allocations: 228.9 kB / 0.5576 GB, free: 1.871 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.577, allocations: 25.7 kB / 0.5576 GB, free: 1.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.5771, allocations: 243 kB / 0.5579 GB, free: 1.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.5771, allocations: 11.27 kB / 0.5579 GB, free: 1.609 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.5771, allocations: 4 kB / 0.5579 GB, free: 1.605 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.5772, allocations: 325.9 kB / 0.5582 GB, free: 1.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.5773, allocations: 53.31 kB / 0.5582 GB, free: 1.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.991e-05/0.5774, allocations: 82.7 kB / 0.5583 GB, free: 1.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.5775, allocations: 63.84 kB / 0.5584 GB, free: 1.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5775, allocations: 7.125 kB / 0.5584 GB, free: 1.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002469/0.5777, allocations: 193.6 kB / 0.5586 GB, free: 1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5778, allocations: 4 kB / 0.5586 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5778, allocations: 4.031 kB / 0.5586 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5778, allocations: 4 kB / 0.5586 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.5781, allocations: 51.34 kB / 0.5586 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.5781, allocations: 4 kB / 0.5586 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.5783, allocations: 35.55 kB / 0.5587 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.5783, allocations: 8 kB / 0.5587 GB, free: 0.8945 MB / 362.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 6.01e-05/0.5784, allocations: 104.9 kB / 0.5588 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.286e-05/0.5785, allocations: 71.75 kB / 0.5588 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.5785, allocations: 11.81 kB / 0.5588 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.5786, allocations: 20.12 kB / 0.5589 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5786, allocations: 4 kB / 0.5589 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5786, allocations: 3.984 kB / 0.5589 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.5786, allocations: 0 / 0.5589 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.579, allocations: 467.8 kB / 0.5593 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.579, allocations: 0 / 0.5593 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.579, allocations: 8.094 kB / 0.5593 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.579, allocations: 0 / 0.5593 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.579, allocations: 0 / 0.5593 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5791, allocations: 4 kB / 0.5593 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5791, allocations: 0 / 0.5593 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.709e-05/0.5792, allocations: 111 kB / 0.5594 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.5792, allocations: 95.72 kB / 0.5595 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.5793, allocations: 0 / 0.5595 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.5794, allocations: 0 / 0.5595 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.5794, allocations: 8.391 kB / 0.5595 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.5794, allocations: 0 / 0.5595 GB, free: 15.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.5796, allocations: 175.2 kB / 0.5597 GB, free: 15.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.603e-06/0.5796, allocations: 0 / 0.5597 GB, free: 15.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.5798, allocations: 67.69 kB / 0.5598 GB, free: 15.77 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.000438/0.5803, allocations: 0.6994 MB / 0.5604 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.5805, allocations: 107.4 kB / 0.5606 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5805, allocations: 0 / 0.5606 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.5805, allocations: 15.22 kB / 0.5606 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.5808, allocations: 15.94 kB / 0.5606 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.5814, allocations: 277.8 kB / 0.5608 GB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.5818, allocations: 0.7476 MB / 0.5616 GB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.5819, allocations: 21.84 kB / 0.5616 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.582, allocations: 68.66 kB / 0.5617 GB, free: 13.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.582, allocations: 0 / 0.5617 GB, free: 13.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.6055, allocations: 2.839 MB / 0.5644 GB, free: 11.01 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/0.6058, allocations: 131.8 kB / 0.5646 GB, free: 10.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.233, allocations: 3.938 kB / 0.5646 GB, free: 10.81 MB / 378.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