Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 185.7 kB / 16.41 MB, free: 5.723 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.99/1.99, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001084/0.001084, allocations: 93.73 kB / 270.9 MB, free: 8.383 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.4989/0.4989, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004913, allocations: 20 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.217/2.344, allocations: 0.6182 GB / 1.097 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/2.344, allocations: 98.48 kB / 1.097 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.326/3.67, allocations: 284.4 MB / 1.375 GB, free: 97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.435e-06/3.67, allocations: 0 / 1.375 GB, free: 97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.709e-05/3.67, allocations: 20.23 kB / 1.375 GB, free: 96.99 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004223/3.675, allocations: 1.319 MB / 1.376 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/3.675, allocations: 8.812 kB / 1.376 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/3.676, allocations: 159.7 kB / 1.376 GB, free: 96.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/3.678, allocations: 0.4936 MB / 1.377 GB, free: 95.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/3.678, allocations: 28.25 kB / 1.377 GB, free: 95.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/3.678, allocations: 45.66 kB / 1.377 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/3.68, allocations: 0.6527 MB / 1.377 GB, free: 95.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/3.68, allocations: 2.438 kB / 1.377 GB, free: 95.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/3.68, allocations: 21.19 kB / 1.377 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/3.68, allocations: 11.59 kB / 1.377 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/3.681, allocations: 0.4979 MB / 1.378 GB, free: 95.14 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.003856/3.685, allocations: 2.623 MB / 1.381 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009313/3.686, allocations: 307.9 kB / 1.381 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/3.686, allocations: 327.5 kB / 1.381 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/3.686, allocations: 41.55 kB / 1.381 GB, free: 92.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.455e-06/3.686, allocations: 0 / 1.381 GB, free: 92.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.002236/3.689, allocations: 0.6956 MB / 1.382 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/3.689, allocations: 162.1 kB / 1.382 GB, free: 92.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/3.689, allocations: 467.6 kB / 1.382 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.232e-05/3.689, allocations: 33.64 kB / 1.382 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/3.69, allocations: 338.9 kB / 1.383 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/3.69, allocations: 120.5 kB / 1.383 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/3.69, allocations: 7.688 kB / 1.383 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/3.69, allocations: 326.1 kB / 1.383 GB, free: 91.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/3.69, allocations: 143.1 kB / 1.383 GB, free: 91.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/3.691, allocations: 323 kB / 1.384 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/3.691, allocations: 186.5 kB / 1.384 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/3.691, allocations: 3.875 kB / 1.384 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001355/3.693, allocations: 0.5335 MB / 1.384 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/3.693, allocations: 7.75 kB / 1.384 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/3.693, allocations: 3.812 kB / 1.384 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/3.695, allocations: 235.3 kB / 1.385 GB, free: 90.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/3.696, allocations: 115.2 kB / 1.385 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000459/3.696, allocations: 0.5972 MB / 1.385 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/3.697, allocations: 62.98 kB / 1.385 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/3.697, allocations: 61.38 kB / 1.385 GB, free: 89.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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): 51 * 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 prepare postOptimizeDAE: time 0.0005425/3.697, allocations: 191.2 kB / 1.386 GB, free: 89.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/3.698, allocations: 64.27 kB / 1.386 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/3.701, allocations: 0.6912 MB / 1.386 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/3.701, allocations: 3.969 kB / 1.386 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/3.701, allocations: 3.938 kB / 1.386 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/3.701, allocations: 3.656 kB / 1.386 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/3.702, allocations: 0.952 MB / 1.387 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/3.702, allocations: 0 / 1.387 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/3.703, allocations: 58.23 kB / 1.387 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002016/3.705, allocations: 229.5 kB / 1.388 GB, free: 88.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/3.705, allocations: 7.938 kB / 1.388 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004036/3.705, allocations: 0.594 MB / 1.388 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/3.705, allocations: 0 / 1.388 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009192/3.706, allocations: 0.5436 MB / 1.389 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/3.707, allocations: 158 kB / 1.389 GB, free: 87.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/3.707, allocations: 11.55 kB / 1.389 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006554/3.707, allocations: 32.52 kB / 1.389 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/3.707, allocations: 26.7 kB / 1.389 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/3.707, allocations: 23.27 kB / 1.389 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006763/3.708, allocations: 403.7 kB / 1.389 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.6e-07/3.708, allocations: 0 / 1.389 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002033/3.71, allocations: 497.8 kB / 1.39 GB, free: 87.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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.002896/3.713, allocations: 1.355 MB / 1.391 GB, free: 86.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001127/3.714, allocations: 359.4 kB / 1.391 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/3.714, allocations: 0 / 1.391 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/3.715, allocations: 146.3 kB / 1.392 GB, free: 86.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/3.717, allocations: 350.8 kB / 1.392 GB, free: 86.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/3.719, allocations: 1.107 MB / 1.393 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/3.72, allocations: 0.8736 MB / 1.394 GB, free: 85.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005481/3.72, allocations: 106.9 kB / 1.394 GB, free: 85.37 MB / 0.5105 GB Notification: Performance of SimCode: time 7.71e-07/3.72, allocations: 0 / 1.394 GB, free: 85.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.03772/3.758, allocations: 20.89 MB / 1.414 GB, free: 70.43 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches