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.002415/0.002415, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 88.03 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2963/0.2963, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.589e-05/2.603e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4128, allocations: 58.86 MB / 477.2 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.5775, allocations: 86.97 MB / 0.5509 GB, free: 12.32 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5779, allocations: 63.97 kB / 0.551 GB, free: 12.26 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0177/0.5956, allocations: 4.142 MB / 0.555 GB, free: 8.117 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5956, allocations: 0 / 0.555 GB, free: 8.117 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.5957, allocations: 4 kB / 0.555 GB, free: 8.113 MB / 395.1 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.001096/0.5968, allocations: 0.5069 MB / 0.5555 GB, free: 7.562 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.5969, allocations: 12.03 kB / 0.5555 GB, free: 7.551 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.597, allocations: 31.7 kB / 0.5556 GB, free: 7.52 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.5972, allocations: 209.5 kB / 0.5558 GB, free: 7.277 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.5974, allocations: 16.78 kB / 0.5558 GB, free: 7.262 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-05/0.5975, allocations: 16 kB / 0.5558 GB, free: 7.246 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006093/0.5981, allocations: 189.5 kB / 0.556 GB, free: 7.062 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.5987, allocations: 222.1 kB / 0.5562 GB, free: 6.836 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.5988, allocations: 0 / 0.5562 GB, free: 6.836 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.5988, allocations: 0 / 0.5562 GB, free: 6.836 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.5988, allocations: 8 kB / 0.5562 GB, free: 6.828 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.6015, allocations: 0.9617 MB / 0.5571 GB, free: 5.82 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.6017, allocations: 26.58 kB / 0.5572 GB, free: 5.785 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.6018, allocations: 28.92 kB / 0.5572 GB, free: 5.754 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.6018, allocations: 0 / 0.5572 GB, free: 5.754 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.6018, allocations: 37.09 kB / 0.5572 GB, free: 5.711 MB / 395.1 MB Notification: Performance of pre-optimization done (n=2): time 1.973e-06/0.6018, allocations: 0 / 0.5572 GB, free: 5.711 MB / 395.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002377/0.6021, allocations: 61.5 kB / 0.5573 GB, free: 5.645 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.6021, allocations: 51.95 kB / 0.5573 GB, free: 5.582 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.6025, allocations: 229.9 kB / 0.5576 GB, free: 5.352 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.6026, allocations: 25.7 kB / 0.5576 GB, free: 5.32 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.6028, allocations: 313.2 kB / 0.5579 GB, free: 5.008 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.6028, allocations: 7.891 kB / 0.5579 GB, free: 5 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.6028, allocations: 448 / 0.5579 GB, free: 5 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.603, allocations: 318.8 kB / 0.5582 GB, free: 4.68 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.6032, allocations: 55.98 kB / 0.5583 GB, free: 4.625 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.6034, allocations: 85.7 kB / 0.5583 GB, free: 4.535 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.6036, allocations: 63.92 kB / 0.5584 GB, free: 4.473 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.6036, allocations: 7.953 kB / 0.5584 GB, free: 4.465 MB / 395.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005192/0.6042, allocations: 185.5 kB / 0.5586 GB, free: 4.277 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6042, allocations: 4 kB / 0.5586 GB, free: 4.273 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6042, allocations: 4 kB / 0.5586 GB, free: 4.27 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.6042, allocations: 3.984 kB / 0.5586 GB, free: 4.266 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.6048, allocations: 51.91 kB / 0.5586 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.6049, allocations: 4 kB / 0.5586 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.6053, allocations: 35.52 kB / 0.5587 GB, free: 4.176 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.6053, allocations: 12 kB / 0.5587 GB, free: 4.164 MB / 395.1 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.000142/0.6055, allocations: 112.9 kB / 0.5588 GB, free: 4.047 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001741/0.6057, allocations: 57.61 kB / 0.5589 GB, free: 3.984 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.6057, allocations: 11.81 kB / 0.5589 GB, free: 3.973 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.6058, allocations: 21.17 kB / 0.5589 GB, free: 3.957 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6058, allocations: 0 / 0.5589 GB, free: 3.957 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6058, allocations: 0 / 0.5589 GB, free: 3.957 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.6058, allocations: 0 / 0.5589 GB, free: 3.957 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009171/0.6068, allocations: 483.8 kB / 0.5593 GB, free: 3.434 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6068, allocations: 0 / 0.5593 GB, free: 3.434 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.6069, allocations: 4 kB / 0.5593 GB, free: 3.43 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.6069, allocations: 0 / 0.5593 GB, free: 3.43 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.6069, allocations: 4 kB / 0.5594 GB, free: 3.426 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6069, allocations: 3.938 kB / 0.5594 GB, free: 3.422 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6069, allocations: 0 / 0.5594 GB, free: 3.422 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.6072, allocations: 115.5 kB / 0.5595 GB, free: 3.281 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.6073, allocations: 89.02 kB / 0.5596 GB, free: 3.176 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.6073, allocations: 7.984 kB / 0.5596 GB, free: 3.168 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.6075, allocations: 4 kB / 0.5596 GB, free: 3.164 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.6076, allocations: 3.953 kB / 0.5596 GB, free: 3.16 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.6076, allocations: 0 / 0.5596 GB, free: 3.16 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002783/0.6079, allocations: 168.7 kB / 0.5597 GB, free: 2.996 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6079, allocations: 0 / 0.5597 GB, free: 2.996 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.6083, allocations: 63.75 kB / 0.5598 GB, free: 2.934 MB / 395.1 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.0005788/0.6089, allocations: 0.707 MB / 0.5605 GB, free: 2.188 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.6093, allocations: 103.9 kB / 0.5606 GB, free: 2.086 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6093, allocations: 0 / 0.5606 GB, free: 2.086 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.6094, allocations: 8 kB / 0.5606 GB, free: 2.078 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.6097, allocations: 20.61 kB / 0.5606 GB, free: 2.055 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009775/0.6107, allocations: 310.7 kB / 0.5609 GB, free: 1.707 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.6111, allocations: 0.7436 MB / 0.5616 GB, free: 0.9375 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.6113, allocations: 79.41 kB / 0.5617 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6113, allocations: 0 / 0.5617 GB, free: 0.8594 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.354/2.965, allocations: 3.474 MB / 0.5651 GB, free: 13.39 MB / 411.1 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