Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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.001437/0.001437, allocations: 183.9 kB / 15.76 MB, free: 6.367 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.856/1.856, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001162/0.001162, allocations: 98.77 kB / 270.2 MB, free: 13.36 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.2658/0.2658, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003811, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1486, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.451/1.599, allocations: 0.6164 GB / 1.095 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/1.6, allocations: 91.95 kB / 1.095 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7816/2.381, allocations: 240.1 MB / 1.33 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/2.381, allocations: 4 kB / 1.33 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.718e-05/2.381, allocations: 15.98 kB / 1.33 GB, free: 1.742 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002384/2.384, allocations: 1.042 MB / 1.331 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/2.384, allocations: 8.031 kB / 1.331 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.442e-05/2.384, allocations: 82.53 kB / 1.331 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000918/2.385, allocations: 147.1 kB / 1.331 GB, free: 420 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3267/2.712, allocations: 479.5 kB / 1.331 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/2.712, allocations: 32.59 kB / 1.331 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/2.712, allocations: 39.47 kB / 1.332 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/2.713, allocations: 0.5938 MB / 1.332 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/2.713, allocations: 5.656 kB / 1.332 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/2.714, allocations: 21.55 kB / 1.332 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/2.714, allocations: 10.75 kB / 1.332 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/2.715, allocations: 488.6 kB / 1.333 GB, free: 104.9 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003598/2.718, allocations: 2.647 MB / 1.335 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/2.719, allocations: 317.9 kB / 1.335 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003805/2.719, allocations: 323.7 kB / 1.336 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/2.719, allocations: 42.25 kB / 1.336 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.056e-06/2.719, allocations: 0 / 1.336 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001848/2.721, allocations: 0.6949 MB / 1.337 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/2.721, allocations: 133.5 kB / 1.337 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/2.722, allocations: 426.2 kB / 1.337 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/2.722, allocations: 33.64 kB / 1.337 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/2.722, allocations: 266.7 kB / 1.337 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-05/2.723, allocations: 127.5 kB / 1.337 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/2.723, allocations: 6.375 kB / 1.337 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001187/2.723, allocations: 358.9 kB / 1.338 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/2.723, allocations: 172.9 kB / 1.338 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/2.723, allocations: 308.3 kB / 1.338 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/2.724, allocations: 209.2 kB / 1.338 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/2.724, allocations: 0 / 1.338 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001039/2.725, allocations: 0.5941 MB / 1.339 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/2.725, allocations: 6.938 kB / 1.339 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/2.725, allocations: 5.562 kB / 1.339 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/2.726, allocations: 237.6 kB / 1.339 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/2.727, allocations: 136.9 kB / 1.339 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005644/2.732, allocations: 17.45 MB / 1.356 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000818/2.733, allocations: 74.53 kB / 1.357 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/2.733, allocations: 46.91 kB / 1.357 GB, free: 83.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004174/2.734, allocations: 184.8 kB / 1.357 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/2.734, allocations: 58.39 kB / 1.357 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/2.735, allocations: 0.6858 MB / 1.357 GB, free: 83.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/2.735, allocations: 0 / 1.357 GB, free: 83.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/2.735, allocations: 3.344 kB / 1.357 GB, free: 83.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/2.735, allocations: 3.656 kB / 1.357 GB, free: 83.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/2.737, allocations: 0.9365 MB / 1.358 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/2.737, allocations: 1.375 kB / 1.358 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/2.737, allocations: 50.61 kB / 1.358 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/2.738, allocations: 233.3 kB / 1.359 GB, free: 83.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/2.738, allocations: 13.44 kB / 1.359 GB, free: 83.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000365/2.739, allocations: 0.5829 MB / 1.359 GB, free: 82.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/2.739, allocations: 6.766 kB / 1.359 GB, free: 82.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/2.74, allocations: 0.5306 MB / 1.36 GB, free: 82.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/2.74, allocations: 158.6 kB / 1.36 GB, free: 82.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/2.74, allocations: 7.469 kB / 1.36 GB, free: 82.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/2.74, allocations: 34.08 kB / 1.36 GB, free: 82.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/2.741, allocations: 25.08 kB / 1.36 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/2.741, allocations: 18.19 kB / 1.36 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000518/2.741, allocations: 374.2 kB / 1.36 GB, free: 82.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/2.741, allocations: 0 / 1.36 GB, free: 82.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002347/2.743, allocations: 484.3 kB / 1.361 GB, free: 82.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003871/2.747, allocations: 2.543 MB / 1.363 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001099/2.748, allocations: 395.7 kB / 1.364 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/2.748, allocations: 4.594 kB / 1.364 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/2.749, allocations: 145 kB / 1.364 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/2.75, allocations: 280.9 kB / 1.364 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/2.754, allocations: 4.206 MB / 1.368 GB, free: 77.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/2.755, allocations: 0.8667 MB / 1.369 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009744/2.756, allocations: 188.5 kB / 1.369 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/2.756, allocations: 202.8 kB / 1.369 GB, free: 76.97 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/2.756, allocations: 0 / 1.369 GB, free: 76.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07159/2.828, allocations: 33.99 MB / 1.403 GB, free: 75.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/2.828, allocations: 260.4 kB / 1.403 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.271/6.099, allocations: 0 / 1.403 GB, free: 75.45 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat