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.002228/0.002228, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.019/2.019, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001199/0.001199, allocations: 92.42 kB / 270.9 MB, free: 8.375 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.5298/0.5298, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004967, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1316, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.227/2.359, allocations: 0.6172 GB / 1.096 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/2.359, allocations: 101.2 kB / 1.096 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.215/3.575, allocations: 245.1 MB / 1.335 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.434e-06/3.575, allocations: 0 / 1.335 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.132e-05/3.575, allocations: 18.38 kB / 1.335 GB, free: 103.4 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.003073/3.578, allocations: 1.045 MB / 1.337 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/3.578, allocations: 11.78 kB / 1.337 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/3.578, allocations: 84.58 kB / 1.337 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/3.58, allocations: 143.9 kB / 1.337 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/3.581, allocations: 495.4 kB / 1.337 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.009e-05/3.581, allocations: 29.03 kB / 1.337 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/3.581, allocations: 44.5 kB / 1.337 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/3.583, allocations: 0.5922 MB / 1.338 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/3.583, allocations: 1.656 kB / 1.338 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-05/3.583, allocations: 23.61 kB / 1.338 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/3.583, allocations: 11.44 kB / 1.338 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/3.584, allocations: 497.5 kB / 1.338 GB, free: 102.3 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.004224/3.589, allocations: 2.638 MB / 1.341 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/3.59, allocations: 336.6 kB / 1.341 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004264/3.59, allocations: 323.5 kB / 1.342 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/3.59, allocations: 39.73 kB / 1.342 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.866e-06/3.59, allocations: 0 / 1.342 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.002637/3.593, allocations: 0.6998 MB / 1.342 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/3.593, allocations: 132.7 kB / 1.342 GB, free: 99.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007545/3.594, allocations: 442.4 kB / 1.343 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/3.594, allocations: 34.88 kB / 1.343 GB, free: 99.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/3.594, allocations: 316.5 kB / 1.343 GB, free: 99.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/3.594, allocations: 117.9 kB / 1.343 GB, free: 99.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/3.594, allocations: 10.22 kB / 1.343 GB, free: 99.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/3.594, allocations: 335.4 kB / 1.344 GB, free: 99.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/3.595, allocations: 193.5 kB / 1.344 GB, free: 99.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/3.596, allocations: 325 kB / 1.344 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/3.596, allocations: 230.2 kB / 1.344 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/3.596, allocations: 5.031 kB / 1.344 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001742/3.598, allocations: 0.6026 MB / 1.345 GB, free: 99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/3.598, allocations: 9.844 kB / 1.345 GB, free: 99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/3.598, allocations: 2.75 kB / 1.345 GB, free: 99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/3.6, allocations: 239.7 kB / 1.345 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/3.601, allocations: 132.4 kB / 1.345 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007076/3.608, allocations: 23.1 MB / 1.368 GB, free: 75.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009546/3.609, allocations: 67.42 kB / 1.368 GB, free: 75.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/3.61, allocations: 50.84 kB / 1.368 GB, free: 75.15 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 (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.0004253/3.61, allocations: 193.3 kB / 1.368 GB, free: 75.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/3.61, allocations: 54.31 kB / 1.368 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/3.613, allocations: 0.678 MB / 1.369 GB, free: 74.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/3.613, allocations: 6.781 kB / 1.369 GB, free: 74.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/3.613, allocations: 2.812 kB / 1.369 GB, free: 74.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/3.613, allocations: 5.453 kB / 1.369 GB, free: 74.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/3.615, allocations: 0.954 MB / 1.37 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/3.615, allocations: 2.219 kB / 1.37 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/3.615, allocations: 55.78 kB / 1.37 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/3.617, allocations: 230.5 kB / 1.37 GB, free: 74.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/3.617, allocations: 16.61 kB / 1.37 GB, free: 74.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004891/3.618, allocations: 0.5903 MB / 1.371 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/3.618, allocations: 5.562 kB / 1.371 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/3.619, allocations: 0.5389 MB / 1.371 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/3.619, allocations: 160 kB / 1.371 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/3.62, allocations: 6.5 kB / 1.371 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/3.62, allocations: 36.89 kB / 1.371 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/3.62, allocations: 21.14 kB / 1.371 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/3.62, allocations: 18.58 kB / 1.371 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006444/3.621, allocations: 383.3 kB / 1.372 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/3.621, allocations: 0 / 1.372 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002546/3.624, allocations: 482.6 kB / 1.372 GB, free: 73.39 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.004648/3.628, allocations: 2.564 MB / 1.375 GB, free: 72.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001462/3.63, allocations: 410 kB / 1.375 GB, free: 72.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/3.63, allocations: 3.562 kB / 1.375 GB, free: 72.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004704/3.63, allocations: 148.5 kB / 1.375 GB, free: 72.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/3.633, allocations: 281.7 kB / 1.376 GB, free: 72.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/3.637, allocations: 4.31 MB / 1.38 GB, free: 68.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/3.638, allocations: 0.8625 MB / 1.381 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007222/3.639, allocations: 233.3 kB / 1.381 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/3.639, allocations: 2.531 kB / 1.381 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.33/6.969, allocations: 29.67 MB / 1.41 GB, free: 63.29 MB / 0.5105 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