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.002175/0.002175, allocations: 181.5 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.025/2.025, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001/0.001, allocations: 82.66 kB / 267.5 MB, free: 14.12 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.2823/0.2823, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.14e-05, allocations: 7.984 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.872/1.983, allocations: 0.5968 GB / 1.07 GB, free: 37.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/1.983, allocations: 90.38 kB / 1.07 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.674/3.657, allocations: 280.5 MB / 1.344 GB, free: 98.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.963e-06/3.657, allocations: 0 / 1.344 GB, free: 98.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.374e-05/3.658, allocations: 13.75 kB / 1.344 GB, free: 98.24 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.003835/3.661, allocations: 1.237 MB / 1.345 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/3.661, allocations: 8.562 kB / 1.345 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/3.663, allocations: 158.3 kB / 1.345 GB, free: 97.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/3.664, allocations: 0.4922 MB / 1.345 GB, free: 97.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/3.665, allocations: 31.5 kB / 1.346 GB, free: 97.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/3.665, allocations: 41.09 kB / 1.346 GB, free: 97.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/3.666, allocations: 0.6344 MB / 1.346 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/3.666, allocations: 0 / 1.346 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.941e-05/3.666, allocations: 24.56 kB / 1.346 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/3.666, allocations: 10.53 kB / 1.346 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/3.668, allocations: 483.6 kB / 1.347 GB, free: 97.38 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.004046/3.672, allocations: 2.611 MB / 1.349 GB, free: 95.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/3.673, allocations: 300.8 kB / 1.349 GB, free: 95.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/3.673, allocations: 146.2 kB / 1.35 GB, free: 95.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/3.673, allocations: 328.6 kB / 1.35 GB, free: 95.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/3.673, allocations: 48.81 kB / 1.35 GB, free: 95.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.645e-06/3.673, allocations: 0 / 1.35 GB, free: 95.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001517/3.675, allocations: 450.8 kB / 1.35 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/3.675, allocations: 158.2 kB / 1.351 GB, free: 95.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007486/3.676, allocations: 465 kB / 1.351 GB, free: 94.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/3.676, allocations: 32.92 kB / 1.351 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/3.676, allocations: 334 kB / 1.351 GB, free: 94.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/3.676, allocations: 123.2 kB / 1.351 GB, free: 94.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/3.676, allocations: 14.31 kB / 1.351 GB, free: 94.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.807e-05/3.676, allocations: 324.7 kB / 1.352 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/3.677, allocations: 135.7 kB / 1.352 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/3.677, allocations: 307.3 kB / 1.352 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/3.678, allocations: 188.8 kB / 1.352 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/3.678, allocations: 0 / 1.352 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00127/3.679, allocations: 0.5102 MB / 1.353 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/3.679, allocations: 3.906 kB / 1.353 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/3.679, allocations: 11.06 kB / 1.353 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/3.681, allocations: 234.3 kB / 1.353 GB, free: 94.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/3.682, allocations: 118.6 kB / 1.353 GB, free: 94.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000482/3.682, allocations: 0.5994 MB / 1.354 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007773/3.683, allocations: 76.66 kB / 1.354 GB, free: 93.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/3.683, allocations: 50.95 kB / 1.354 GB, free: 93.58 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 () * 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.0001868/3.683, allocations: 135.6 kB / 1.354 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/3.684, allocations: 58.22 kB / 1.354 GB, free: 93.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/3.686, allocations: 0.6802 MB / 1.355 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/3.686, allocations: 3.719 kB / 1.355 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/3.686, allocations: 3.625 kB / 1.355 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/3.686, allocations: 0 / 1.355 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/3.688, allocations: 0.9326 MB / 1.356 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/3.688, allocations: 0 / 1.356 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/3.688, allocations: 51.45 kB / 1.356 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/3.69, allocations: 228 kB / 1.356 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/3.69, allocations: 18.09 kB / 1.356 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004283/3.691, allocations: 0.5854 MB / 1.357 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/3.691, allocations: 3.812 kB / 1.357 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/3.692, allocations: 0.5313 MB / 1.357 GB, free: 92.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/3.692, allocations: 164.6 kB / 1.357 GB, free: 91.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/3.692, allocations: 7.156 kB / 1.357 GB, free: 91.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/3.693, allocations: 24.34 kB / 1.357 GB, free: 91.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/3.693, allocations: 29.09 kB / 1.357 GB, free: 91.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/3.693, allocations: 20.02 kB / 1.357 GB, free: 91.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006684/3.694, allocations: 396.9 kB / 1.358 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/3.694, allocations: 0 / 1.358 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002161/3.696, allocations: 0.4952 MB / 1.358 GB, free: 91.82 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 () * 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.003115/3.699, allocations: 1.356 MB / 1.36 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001144/3.7, allocations: 343 kB / 1.36 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/3.7, allocations: 3.906 kB / 1.36 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/3.7, allocations: 133.4 kB / 1.36 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/3.703, allocations: 338.4 kB / 1.36 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/3.705, allocations: 0.6182 MB / 1.361 GB, free: 91.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/3.705, allocations: 0.8752 MB / 1.362 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/3.706, allocations: 104.2 kB / 1.362 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/3.706, allocations: 0 / 1.362 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.0412/3.747, allocations: 20.85 MB / 1.382 GB, free: 89.65 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