Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Orifice,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.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,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.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.935/1.935, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001168/0.001168, allocations: 88.44 kB / 270.9 MB, free: 8.363 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.4993/0.4993, allocations: 43.56 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004695, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.112/2.237, allocations: 0.6127 GB / 1.091 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/2.237, allocations: 92.69 kB / 1.092 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.276/3.513, allocations: 272.1 MB / 1.357 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.645e-06/3.513, allocations: 0 / 1.357 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.377e-05/3.514, allocations: 16 kB / 1.357 GB, free: 69.88 MB / 0.4948 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.004187/3.518, allocations: 1.286 MB / 1.358 GB, free: 68.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/3.518, allocations: 8.031 kB / 1.358 GB, free: 68.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/3.52, allocations: 163 kB / 1.359 GB, free: 68.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/3.521, allocations: 498.6 kB / 1.359 GB, free: 67.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/3.521, allocations: 37 kB / 1.359 GB, free: 67.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/3.521, allocations: 40 kB / 1.359 GB, free: 67.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/3.523, allocations: 0.6472 MB / 1.36 GB, free: 67.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/3.523, allocations: 0 / 1.36 GB, free: 67.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/3.523, allocations: 24 kB / 1.36 GB, free: 67.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/3.523, allocations: 16 kB / 1.36 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/3.524, allocations: 0.5112 MB / 1.36 GB, free: 66.54 MB / 0.4948 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.004291/3.529, allocations: 2.624 MB / 1.363 GB, free: 63.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/3.53, allocations: 327.6 kB / 1.363 GB, free: 63.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000465/3.53, allocations: 327.8 kB / 1.364 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/3.53, allocations: 42.56 kB / 1.364 GB, free: 63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 3.397e-06/3.53, allocations: 0 / 1.364 GB, free: 63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.002394/3.533, allocations: 0.6904 MB / 1.364 GB, free: 62.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/3.533, allocations: 162.2 kB / 1.364 GB, free: 62.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007694/3.534, allocations: 466 kB / 1.365 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/3.534, allocations: 33.7 kB / 1.365 GB, free: 61.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/3.534, allocations: 330.1 kB / 1.365 GB, free: 61.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/3.534, allocations: 126.3 kB / 1.365 GB, free: 61.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/3.534, allocations: 8 kB / 1.365 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/3.534, allocations: 330.8 kB / 1.366 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/3.535, allocations: 145 kB / 1.366 GB, free: 60.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/3.535, allocations: 319.3 kB / 1.366 GB, free: 60.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/3.536, allocations: 200.1 kB / 1.366 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/3.536, allocations: 0 / 1.366 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00143/3.537, allocations: 0.5287 MB / 1.367 GB, free: 59.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/3.537, allocations: 8.625 kB / 1.367 GB, free: 59.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/3.537, allocations: 4 kB / 1.367 GB, free: 59.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/3.54, allocations: 232.6 kB / 1.367 GB, free: 59.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/3.54, allocations: 119.8 kB / 1.367 GB, free: 59.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005461/3.541, allocations: 0.5875 MB / 1.368 GB, free: 58.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008269/3.542, allocations: 75.34 kB / 1.368 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/3.542, allocations: 52.05 kB / 1.368 GB, free: 58.43 MB / 0.4948 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.0004679/3.542, allocations: 197.6 kB / 1.368 GB, free: 58.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/3.543, allocations: 63.25 kB / 1.368 GB, free: 58.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/3.545, allocations: 0.6908 MB / 1.369 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.098e-06/3.545, allocations: 11.94 kB / 1.369 GB, free: 57.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/3.545, allocations: 0 / 1.369 GB, free: 57.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/3.545, allocations: 3.984 kB / 1.369 GB, free: 57.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/3.547, allocations: 0.9641 MB / 1.37 GB, free: 56.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/3.547, allocations: 0 / 1.37 GB, free: 56.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/3.548, allocations: 51.91 kB / 1.37 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002087/3.55, allocations: 228.8 kB / 1.37 GB, free: 56.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/3.55, allocations: 15.98 kB / 1.37 GB, free: 56.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005405/3.55, allocations: 0.5758 MB / 1.371 GB, free: 55.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/3.55, allocations: 7.969 kB / 1.371 GB, free: 55.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/3.552, allocations: 0.5394 MB / 1.371 GB, free: 54.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/3.552, allocations: 160.3 kB / 1.371 GB, free: 54.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/3.552, allocations: 15.92 kB / 1.371 GB, free: 54.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006835/3.553, allocations: 27.89 kB / 1.371 GB, free: 54.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/3.553, allocations: 35.78 kB / 1.371 GB, free: 54.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/3.553, allocations: 15.98 kB / 1.371 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007357/3.554, allocations: 410.8 kB / 1.372 GB, free: 54.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.4e-07/3.554, allocations: 0 / 1.372 GB, free: 54.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002083/3.556, allocations: 443.5 kB / 1.372 GB, free: 53.77 MB / 0.4948 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.002847/3.559, allocations: 1.28 MB / 1.373 GB, free: 52.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001261/3.56, allocations: 368.6 kB / 1.374 GB, free: 52.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/3.56, allocations: 0 / 1.374 GB, free: 52.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004127/3.56, allocations: 135.8 kB / 1.374 GB, free: 52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/3.563, allocations: 341.6 kB / 1.374 GB, free: 51.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/3.565, allocations: 1.108 MB / 1.375 GB, free: 50.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/3.566, allocations: 0.8789 MB / 1.376 GB, free: 49.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/3.566, allocations: 111.4 kB / 1.376 GB, free: 49.49 MB / 0.4948 GB Notification: Performance of SimCode: time 1.683e-06/3.566, allocations: 3.938 kB / 1.376 GB, free: 49.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.03722/3.604, allocations: 19.73 MB / 1.396 GB, free: 29.77 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches