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.002201/0.0022, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.00108, allocations: 95.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3832/0.3832, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.013e-05/2.011e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4031, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.819/2.222, allocations: 0.5962 GB / 1.062 GB, free: 136.1 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/2.223, allocations: 95.84 kB / 1.062 GB, free: 136.1 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.385/3.608, allocations: 277.4 MB / 1.333 GB, free: 67.95 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.753e-06/3.608, allocations: 0 / 1.333 GB, free: 67.95 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.317e-05/3.608, allocations: 16 kB / 1.333 GB, free: 67.94 MB / 0.4952 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.003795/3.612, allocations: 1.236 MB / 1.334 GB, free: 66.66 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/3.612, allocations: 8.031 kB / 1.334 GB, free: 66.66 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/3.614, allocations: 155.1 kB / 1.334 GB, free: 66.5 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/3.615, allocations: 0.4977 MB / 1.335 GB, free: 65.98 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/3.615, allocations: 15.94 kB / 1.335 GB, free: 65.96 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/3.616, allocations: 31.94 kB / 1.335 GB, free: 65.93 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001063/3.617, allocations: 426.5 kB / 1.335 GB, free: 65.51 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/3.618, allocations: 0.547 MB / 1.336 GB, free: 64.91 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/3.618, allocations: 3.938 kB / 1.336 GB, free: 64.91 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/3.618, allocations: 4 kB / 1.336 GB, free: 64.9 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/3.618, allocations: 8 kB / 1.336 GB, free: 64.89 MB / 0.4952 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.004227/3.622, allocations: 2.573 MB / 1.338 GB, free: 62.17 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/3.623, allocations: 231.5 kB / 1.339 GB, free: 61.93 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/3.623, allocations: 120.8 kB / 1.339 GB, free: 61.81 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/3.624, allocations: 322.1 kB / 1.339 GB, free: 61.45 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/3.624, allocations: 38.5 kB / 1.339 GB, free: 61.4 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=31): time 2.504e-06/3.624, allocations: 4 kB / 1.339 GB, free: 61.39 MB / 0.4952 GB Notification: Performance of matching and sorting (n=31): time 0.00389/3.628, allocations: 0.7668 MB / 1.34 GB, free: 60.62 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/3.628, allocations: 162.2 kB / 1.34 GB, free: 60.42 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/3.628, allocations: 389.2 kB / 1.34 GB, free: 60.04 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/3.628, allocations: 25.7 kB / 1.34 GB, free: 60.01 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/3.629, allocations: 357.7 kB / 1.341 GB, free: 59.65 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 9.524e-05/3.629, allocations: 102.4 kB / 1.341 GB, free: 59.55 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/3.629, allocations: 0 / 1.341 GB, free: 59.55 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/3.629, allocations: 334.8 kB / 1.341 GB, free: 59.21 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/3.629, allocations: 125.1 kB / 1.341 GB, free: 59.09 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/3.629, allocations: 302.8 kB / 1.342 GB, free: 58.72 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/3.633, allocations: 0.6006 MB / 1.342 GB, free: 58.12 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/3.633, allocations: 0 / 1.342 GB, free: 58.12 MB / 0.4952 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.004024/3.637, allocations: 0.8961 MB / 1.343 GB, free: 57.21 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/3.637, allocations: 8 kB / 1.343 GB, free: 57.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/3.637, allocations: 12.05 kB / 1.343 GB, free: 57.19 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/3.637, allocations: 52.81 kB / 1.343 GB, free: 57.14 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/3.638, allocations: 115.8 kB / 1.343 GB, free: 57.02 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006425/3.639, allocations: 0.6148 MB / 1.344 GB, free: 56.38 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/3.639, allocations: 51.55 kB / 1.344 GB, free: 56.33 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/3.639, allocations: 51.98 kB / 1.344 GB, free: 56.28 MB / 0.4952 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 () * 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.0001756/3.64, allocations: 124.8 kB / 1.344 GB, free: 56.15 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/3.64, allocations: 47.44 kB / 1.344 GB, free: 56.11 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/3.642, allocations: 0.6081 MB / 1.345 GB, free: 55.48 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/3.642, allocations: 4.047 kB / 1.345 GB, free: 55.47 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/3.642, allocations: 3.984 kB / 1.345 GB, free: 55.47 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/3.642, allocations: 0 / 1.345 GB, free: 55.47 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/3.645, allocations: 1.135 MB / 1.346 GB, free: 54.23 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/3.645, allocations: 4 kB / 1.346 GB, free: 54.23 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/3.645, allocations: 47.91 kB / 1.346 GB, free: 54.18 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/3.646, allocations: 40.84 kB / 1.346 GB, free: 54.14 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/3.646, allocations: 8.234 kB / 1.346 GB, free: 54.13 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005542/3.646, allocations: 0.6109 MB / 1.346 GB, free: 53.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/3.646, allocations: 3.938 kB / 1.346 GB, free: 53.49 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/3.648, allocations: 0.6408 MB / 1.347 GB, free: 52.76 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/3.648, allocations: 144.4 kB / 1.347 GB, free: 52.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/3.648, allocations: 4 kB / 1.347 GB, free: 52.59 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/3.649, allocations: 23.97 kB / 1.347 GB, free: 52.57 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/3.649, allocations: 31.86 kB / 1.347 GB, free: 52.54 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/3.649, allocations: 19.98 kB / 1.347 GB, free: 52.52 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.000517/3.65, allocations: 322.9 kB / 1.348 GB, free: 52.21 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.21e-07/3.65, allocations: 0 / 1.348 GB, free: 52.21 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002122/3.652, allocations: 471.2 kB / 1.348 GB, free: 51.75 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.003137/3.655, allocations: 1.509 MB / 1.35 GB, free: 50.38 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0009898/3.656, allocations: 316.7 kB / 1.35 GB, free: 50.07 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/3.656, allocations: 0 / 1.35 GB, free: 50.07 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003104/3.656, allocations: 133.2 kB / 1.35 GB, free: 49.94 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/3.658, allocations: 262.6 kB / 1.35 GB, free: 49.69 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/3.66, allocations: 0.6046 MB / 1.351 GB, free: 49.03 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/3.66, allocations: 0.8781 MB / 1.352 GB, free: 48.12 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/3.661, allocations: 99.39 kB / 1.352 GB, free: 48.02 MB / 0.4952 GB Notification: Performance of SimCode: time 1.082e-06/3.661, allocations: 0 / 1.352 GB, free: 48.02 MB / 0.4952 GB Notification: Performance of Templates: time 0.04/3.701, allocations: 19.94 MB / 1.371 GB, free: 28.07 MB / 0.4952 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