Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002195/0.002195, allocations: 181.4 kB / 13.66 MB, free: 1.66 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.069/2.069, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001093/0.001093, allocations: 93.94 kB / 267.5 MB, free: 14.05 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.3169/0.3169, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.506e-05, allocations: 7.984 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 58.85 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.806/1.927, allocations: 0.5836 GB / 1.057 GB, free: 50.45 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/1.927, allocations: 99.88 kB / 1.057 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.174/3.101, allocations: 234.4 MB / 1.286 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.744e-06/3.101, allocations: 0 / 1.286 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.411e-05/3.102, allocations: 12 kB / 1.286 GB, free: 34.28 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.002855/3.104, allocations: 0.9628 MB / 1.286 GB, free: 33.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/3.104, allocations: 8.031 kB / 1.286 GB, free: 33.26 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/3.105, allocations: 82.52 kB / 1.287 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/3.106, allocations: 135.2 kB / 1.287 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/3.107, allocations: 479.1 kB / 1.287 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/3.108, allocations: 37 kB / 1.287 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/3.108, allocations: 40 kB / 1.287 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/3.109, allocations: 0.5811 MB / 1.288 GB, free: 31.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/3.109, allocations: 0 / 1.288 GB, free: 31.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-05/3.109, allocations: 20 kB / 1.288 GB, free: 31.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/3.109, allocations: 11.98 kB / 1.288 GB, free: 31.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/3.11, allocations: 446.9 kB / 1.288 GB, free: 31.36 MB / 0.5105 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.004068/3.114, allocations: 2.642 MB / 1.291 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009548/3.115, allocations: 299.8 kB / 1.291 GB, free: 28.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/3.116, allocations: 149.4 kB / 1.291 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004319/3.116, allocations: 325.9 kB / 1.292 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/3.116, allocations: 38.84 kB / 1.292 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/3.116, allocations: 0 / 1.292 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.00149/3.118, allocations: 428 kB / 1.292 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/3.118, allocations: 136.5 kB / 1.292 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/3.119, allocations: 419.8 kB / 1.293 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.02e-05/3.119, allocations: 33.7 kB / 1.293 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/3.119, allocations: 310.2 kB / 1.293 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/3.119, allocations: 122.2 kB / 1.293 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/3.119, allocations: 8 kB / 1.293 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/3.119, allocations: 330.8 kB / 1.293 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/3.12, allocations: 149.1 kB / 1.293 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/3.12, allocations: 289 kB / 1.294 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/3.121, allocations: 191.6 kB / 1.294 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/3.121, allocations: 0 / 1.294 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001389/3.122, allocations: 0.5289 MB / 1.294 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/3.122, allocations: 8.062 kB / 1.294 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/3.122, allocations: 4 kB / 1.294 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/3.124, allocations: 232.6 kB / 1.295 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/3.125, allocations: 131.8 kB / 1.295 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005688/3.131, allocations: 17.47 MB / 1.312 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008938/3.132, allocations: 67.62 kB / 1.312 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/3.132, allocations: 47.98 kB / 1.312 GB, free: 5.469 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 () * 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.0002038/3.132, allocations: 133.4 kB / 1.312 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/3.132, allocations: 51.44 kB / 1.312 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/3.135, allocations: 0.644 MB / 1.313 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/3.135, allocations: 7.984 kB / 1.313 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/3.135, allocations: 0 / 1.313 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/3.135, allocations: 4 kB / 1.313 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/3.137, allocations: 0.897 MB / 1.314 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/3.137, allocations: 3.938 kB / 1.314 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/3.137, allocations: 64.06 kB / 1.314 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/3.139, allocations: 232.6 kB / 1.314 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/3.139, allocations: 12 kB / 1.314 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004949/3.14, allocations: 0.5913 MB / 1.315 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/3.14, allocations: 0 / 1.315 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/3.141, allocations: 0.4926 MB / 1.315 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/3.141, allocations: 152.4 kB / 1.315 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/3.141, allocations: 15.95 kB / 1.315 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/3.142, allocations: 35.91 kB / 1.315 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/3.142, allocations: 23.97 kB / 1.315 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/3.142, allocations: 19.98 kB / 1.315 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000625/3.143, allocations: 361.6 kB / 1.316 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/3.143, allocations: 0 / 1.316 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002509/3.145, allocations: 479.4 kB / 1.316 GB, free: 1.066 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 () * 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.3753/3.521, allocations: 2.504 MB / 1.319 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001659/3.522, allocations: 350.8 kB / 1.319 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/3.523, allocations: 3.906 kB / 1.319 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004394/3.523, allocations: 126.7 kB / 1.319 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/3.526, allocations: 269.1 kB / 1.319 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/3.529, allocations: 0.8331 MB / 1.32 GB, free: 106 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/3.529, allocations: 0.8697 MB / 1.321 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007396/3.53, allocations: 228.5 kB / 1.321 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/3.53, allocations: 0 / 1.321 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.49/7.02, allocations: 27.3 MB / 1.348 GB, free: 104.7 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat