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.001258/0.001258, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.605/1.605, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008471/0.0008469, allocations: 93.84 kB / 267.1 MB, free: 9.273 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.4083/0.4083, allocations: 43.46 MB / 358.6 MB, free: 52.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/3.998e-05, allocations: 0 / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1467, allocations: 58.85 MB / 484.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4454/0.5922, allocations: 87.62 MB / 0.5585 GB, free: 1.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.5925, allocations: 71.95 kB / 0.5585 GB, free: 1.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.6033, allocations: 4.185 MB / 0.5626 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6035, allocations: 4 kB / 0.5626 GB, free: 13.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.6035, allocations: 8 kB / 0.5626 GB, free: 13.09 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.000734/0.6042, allocations: 0.5087 MB / 0.5631 GB, free: 12.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.6043, allocations: 8.031 kB / 0.5631 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.171e-05/0.6044, allocations: 74.53 kB / 0.5632 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.6044, allocations: 27.16 kB / 0.5632 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.6047, allocations: 208 kB / 0.5634 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.6048, allocations: 24.78 kB / 0.5635 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.6048, allocations: 34.95 kB / 0.5635 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.6053, allocations: 267.8 kB / 0.5637 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.6053, allocations: 0 / 0.5637 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.6054, allocations: 13.38 kB / 0.5638 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.6054, allocations: 8 kB / 0.5638 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.6058, allocations: 203.1 kB / 0.564 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.6075, allocations: 1.037 MB / 0.565 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.901e-05/0.6076, allocations: 30.58 kB / 0.565 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.6077, allocations: 24.92 kB / 0.565 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.6077, allocations: 0 / 0.565 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.6077, allocations: 30.56 kB / 0.5651 GB, free: 10.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.6077, allocations: 3.938 kB / 0.5651 GB, free: 10.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001858/0.6079, allocations: 65.5 kB / 0.5651 GB, free: 10.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.608, allocations: 55.41 kB / 0.5652 GB, free: 10.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.6083, allocations: 279.3 kB / 0.5654 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.6083, allocations: 30.28 kB / 0.5655 GB, free: 10 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.6085, allocations: 234.8 kB / 0.5657 GB, free: 9.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.6085, allocations: 15.89 kB / 0.5657 GB, free: 9.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.6085, allocations: 4 kB / 0.5657 GB, free: 9.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6087, allocations: 337 kB / 0.566 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.6088, allocations: 63.28 kB / 0.5661 GB, free: 9.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.6089, allocations: 82.45 kB / 0.5662 GB, free: 9.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.609, allocations: 76.47 kB / 0.5662 GB, free: 9.199 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6091, allocations: 4 kB / 0.5663 GB, free: 9.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000318/0.6094, allocations: 217.8 kB / 0.5665 GB, free: 8.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6094, allocations: 4 kB / 0.5665 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6094, allocations: 0 / 0.5665 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.6095, allocations: 7.984 kB / 0.5665 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.6097, allocations: 55.89 kB / 0.5665 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.6098, allocations: 4 kB / 0.5665 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.61, allocations: 39.56 kB / 0.5666 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.61, allocations: 12 kB / 0.5666 GB, free: 8.855 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 () * 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 8.204e-05/0.6101, allocations: 116.9 kB / 0.5667 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.6102, allocations: 19.8 kB / 0.5667 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.6102, allocations: 20.91 kB / 0.5667 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6102, allocations: 0 / 0.5667 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6102, allocations: 0 / 0.5667 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6103, allocations: 3.984 kB / 0.5667 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.6109, allocations: 0.511 MB / 0.5672 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6109, allocations: 4 kB / 0.5672 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.6109, allocations: 4 kB / 0.5672 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6109, allocations: 0 / 0.5672 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.6109, allocations: 0 / 0.5672 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6109, allocations: 1.406 kB / 0.5672 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.6109, allocations: 4 kB / 0.5672 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.6111, allocations: 115.5 kB / 0.5674 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.6112, allocations: 104.8 kB / 0.5675 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.6112, allocations: 0 / 0.5675 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.6113, allocations: 3.828 kB / 0.5675 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.6113, allocations: 7.953 kB / 0.5675 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.6114, allocations: 3.984 kB / 0.5675 GB, free: 7.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.6116, allocations: 223.2 kB / 0.5677 GB, free: 7.613 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6116, allocations: 0 / 0.5677 GB, free: 7.613 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.6119, allocations: 63.84 kB / 0.5677 GB, free: 7.551 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 () * 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.0004478/0.6123, allocations: 0.7039 MB / 0.5684 GB, free: 6.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.6126, allocations: 111.9 kB / 0.5685 GB, free: 6.699 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6126, allocations: 4 kB / 0.5685 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.527e-05/0.6126, allocations: 8 kB / 0.5685 GB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.6129, allocations: 25.62 kB / 0.5686 GB, free: 6.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.6136, allocations: 287.2 kB / 0.5688 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.614, allocations: 0.7518 MB / 0.5696 GB, free: 5.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.6142, allocations: 29.98 kB / 0.5696 GB, free: 5.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.6143, allocations: 71.42 kB / 0.5697 GB, free: 5.469 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.6143, allocations: 0 / 0.5697 GB, free: 5.469 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.6316, allocations: 3.659 MB / 0.5733 GB, free: 1.883 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.6319, allocations: 159.2 kB / 0.5734 GB, free: 1.645 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.333, allocations: 0 / 0.5734 GB, free: 1.645 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