Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",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.00238/0.00238, allocations: 182.4 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.132/2.132, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001142/0.001142, allocations: 86.64 kB / 267.5 MB, free: 14.11 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.2943/0.2943, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.739e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.127, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.843/1.97, allocations: 0.5845 GB / 1.057 GB, free: 19.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.97, allocations: 94.31 kB / 1.057 GB, free: 19.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.516/3.486, allocations: 239.4 MB / 1.291 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.753e-06/3.486, allocations: 3 kB / 1.291 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.735e-05/3.486, allocations: 17 kB / 1.291 GB, free: 95.32 MB / 0.4948 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.003001/3.489, allocations: 0.9566 MB / 1.292 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/3.489, allocations: 8.5 kB / 1.292 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/3.489, allocations: 82.11 kB / 1.292 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/3.49, allocations: 136 kB / 1.292 GB, free: 94.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/3.492, allocations: 496.7 kB / 1.293 GB, free: 94.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/3.492, allocations: 32.12 kB / 1.293 GB, free: 94.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/3.492, allocations: 40.47 kB / 1.293 GB, free: 94.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/3.494, allocations: 0.5797 MB / 1.294 GB, free: 94.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/3.494, allocations: 3.062 kB / 1.294 GB, free: 94.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/3.494, allocations: 19.66 kB / 1.294 GB, free: 94.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/3.494, allocations: 10.94 kB / 1.294 GB, free: 94.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/3.495, allocations: 449.3 kB / 1.294 GB, free: 94.52 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.004461/3.5, allocations: 2.646 MB / 1.297 GB, free: 92.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000988/3.501, allocations: 304.2 kB / 1.297 GB, free: 92.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/3.501, allocations: 144.9 kB / 1.297 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000467/3.502, allocations: 323.5 kB / 1.297 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/3.502, allocations: 41.34 kB / 1.297 GB, free: 92.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 3.296e-06/3.502, allocations: 0 / 1.297 GB, free: 92.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001602/3.503, allocations: 438.2 kB / 1.298 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/3.503, allocations: 140.7 kB / 1.298 GB, free: 92.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008407/3.504, allocations: 432.4 kB / 1.298 GB, free: 92.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/3.504, allocations: 35.05 kB / 1.298 GB, free: 92.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/3.504, allocations: 314.2 kB / 1.299 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/3.505, allocations: 117.8 kB / 1.299 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/3.505, allocations: 9.156 kB / 1.299 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/3.505, allocations: 331 kB / 1.299 GB, free: 91.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/3.505, allocations: 175.8 kB / 1.299 GB, free: 91.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/3.506, allocations: 300.7 kB / 1.3 GB, free: 91.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/3.506, allocations: 216.4 kB / 1.3 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/3.506, allocations: 1.438 kB / 1.3 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001457/3.508, allocations: 0.5662 MB / 1.3 GB, free: 91.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/3.508, allocations: 3.719 kB / 1.3 GB, free: 91.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/3.508, allocations: 7.906 kB / 1.3 GB, free: 91.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/3.51, allocations: 238 kB / 1.301 GB, free: 91.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009392/3.511, allocations: 138.4 kB / 1.301 GB, free: 91.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007254/3.518, allocations: 23.1 MB / 1.323 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009268/3.519, allocations: 65.89 kB / 1.323 GB, free: 67.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/3.519, allocations: 52.16 kB / 1.323 GB, free: 67.47 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * 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): 8 * 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: 8 {1,1,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.0001973/3.52, allocations: 131.1 kB / 1.324 GB, free: 67.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/3.52, allocations: 55.88 kB / 1.324 GB, free: 67.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/3.522, allocations: 0.6596 MB / 1.324 GB, free: 67.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/3.522, allocations: 3.938 kB / 1.324 GB, free: 67.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/3.522, allocations: 3.953 kB / 1.324 GB, free: 67.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/3.522, allocations: 3.656 kB / 1.324 GB, free: 67.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/3.524, allocations: 0.9005 MB / 1.325 GB, free: 66.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/3.524, allocations: 9.266 kB / 1.325 GB, free: 66.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/3.524, allocations: 51.34 kB / 1.325 GB, free: 66.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002198/3.526, allocations: 229.4 kB / 1.325 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/3.526, allocations: 9.312 kB / 1.325 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004658/3.527, allocations: 0.5928 MB / 1.326 GB, free: 66.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/3.527, allocations: 3.469 kB / 1.326 GB, free: 66.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009426/3.528, allocations: 0.5033 MB / 1.326 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/3.528, allocations: 153.2 kB / 1.327 GB, free: 65.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/3.528, allocations: 6.938 kB / 1.327 GB, free: 65.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006886/3.529, allocations: 40.38 kB / 1.327 GB, free: 65.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/3.529, allocations: 26.06 kB / 1.327 GB, free: 65.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/3.529, allocations: 15.55 kB / 1.327 GB, free: 65.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006458/3.53, allocations: 380.6 kB / 1.327 GB, free: 65.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.1e-07/3.53, allocations: 0 / 1.327 GB, free: 65.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002685/3.533, allocations: 486.4 kB / 1.328 GB, free: 65.81 MB / 0.4948 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 () * 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.004322/3.537, allocations: 2.524 MB / 1.33 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001266/3.538, allocations: 378.2 kB / 1.33 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/3.538, allocations: 3.562 kB / 1.33 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/3.539, allocations: 131.2 kB / 1.33 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/3.541, allocations: 293.3 kB / 1.331 GB, free: 64.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/3.544, allocations: 0.8342 MB / 1.332 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/3.544, allocations: 0.8638 MB / 1.332 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006761/3.545, allocations: 233.2 kB / 1.333 GB, free: 63.41 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/3.545, allocations: 0 / 1.333 GB, free: 63.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.616/7.161, allocations: 29.8 MB / 1.362 GB, free: 62.21 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat