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.001471/0.00147, allocations: 179 kB / 8.364 MB, free: 0.707 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.087/2.087, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001701/0.0017, allocations: 86.83 kB / 262.1 MB, free: 13.86 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.3253/0.3253, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.136e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4712, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.806/2.277, allocations: 0.5907 GB / 1.057 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/2.277, allocations: 88.73 kB / 1.057 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.411/3.689, allocations: 265.1 MB / 1.316 GB, free: 83.55 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.795e-06/3.689, allocations: 0 / 1.316 GB, free: 83.55 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 8.047e-05/3.689, allocations: 14.81 kB / 1.316 GB, free: 83.54 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.005217/3.694, allocations: 1.199 MB / 1.317 GB, free: 82.3 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/3.694, allocations: 12.03 kB / 1.317 GB, free: 82.29 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/3.697, allocations: 151 kB / 1.317 GB, free: 82.14 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/3.699, allocations: 0.5001 MB / 1.317 GB, free: 81.62 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.545e-05/3.7, allocations: 16 kB / 1.317 GB, free: 81.6 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/3.7, allocations: 24 kB / 1.317 GB, free: 81.58 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001647/3.701, allocations: 430.4 kB / 1.318 GB, free: 81.16 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/3.703, allocations: 0.5529 MB / 1.318 GB, free: 80.55 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/3.703, allocations: 0 / 1.318 GB, free: 80.55 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/3.703, allocations: 4 kB / 1.318 GB, free: 80.55 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/3.704, allocations: 12 kB / 1.318 GB, free: 80.54 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.006433/3.71, allocations: 2.587 MB / 1.321 GB, free: 77.81 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008239/3.711, allocations: 231.8 kB / 1.321 GB, free: 77.57 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/3.711, allocations: 124.8 kB / 1.321 GB, free: 77.45 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005732/3.712, allocations: 324.4 kB / 1.322 GB, free: 77.08 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/3.712, allocations: 38.56 kB / 1.322 GB, free: 77.04 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=31): time 4.889e-06/3.712, allocations: 0 / 1.322 GB, free: 77.04 MB / 0.4952 GB Notification: Performance of matching and sorting (n=31): time 0.006443/3.718, allocations: 0.7708 MB / 1.322 GB, free: 76.25 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/3.719, allocations: 158.2 kB / 1.322 GB, free: 76.06 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009292/3.719, allocations: 396.5 kB / 1.323 GB, free: 75.68 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/3.72, allocations: 25.7 kB / 1.323 GB, free: 75.64 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/3.72, allocations: 353.8 kB / 1.323 GB, free: 75.3 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/3.72, allocations: 114.3 kB / 1.323 GB, free: 75.18 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/3.72, allocations: 0 / 1.323 GB, free: 75.18 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/3.72, allocations: 326.8 kB / 1.324 GB, free: 74.86 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/3.721, allocations: 129 kB / 1.324 GB, free: 74.73 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/3.721, allocations: 292.7 kB / 1.324 GB, free: 74.37 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005379/3.727, allocations: 0.6028 MB / 1.325 GB, free: 73.77 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/3.727, allocations: 0 / 1.325 GB, free: 73.77 MB / 0.4952 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.006951/3.734, allocations: 0.8879 MB / 1.325 GB, free: 72.88 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/3.734, allocations: 8 kB / 1.325 GB, free: 72.87 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/3.734, allocations: 4 kB / 1.326 GB, free: 72.87 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/3.734, allocations: 51.89 kB / 1.326 GB, free: 72.82 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/3.735, allocations: 119.8 kB / 1.326 GB, free: 72.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/3.736, allocations: 0.6108 MB / 1.326 GB, free: 72.06 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/3.738, allocations: 54.56 kB / 1.326 GB, free: 72.01 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/3.738, allocations: 55.98 kB / 1.326 GB, free: 71.96 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.0002979/3.738, allocations: 116.8 kB / 1.326 GB, free: 71.84 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/3.739, allocations: 54.69 kB / 1.327 GB, free: 71.79 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/3.743, allocations: 0.6158 MB / 1.327 GB, free: 71.16 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/3.743, allocations: 0 / 1.327 GB, free: 71.16 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/3.743, allocations: 0 / 1.327 GB, free: 71.16 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/3.743, allocations: 4 kB / 1.327 GB, free: 71.16 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/3.748, allocations: 1.141 MB / 1.328 GB, free: 69.91 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/3.748, allocations: 0 / 1.328 GB, free: 69.91 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/3.748, allocations: 52.16 kB / 1.328 GB, free: 69.86 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003221/3.749, allocations: 48.83 kB / 1.328 GB, free: 69.81 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/3.749, allocations: 8 kB / 1.328 GB, free: 69.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008966/3.75, allocations: 0.5992 MB / 1.329 GB, free: 69.18 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/3.75, allocations: 0 / 1.329 GB, free: 69.18 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/3.753, allocations: 0.6333 MB / 1.33 GB, free: 68.45 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/3.753, allocations: 156.4 kB / 1.33 GB, free: 68.28 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/3.753, allocations: 7.953 kB / 1.33 GB, free: 68.27 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/3.754, allocations: 23.98 kB / 1.33 GB, free: 68.25 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/3.755, allocations: 19.97 kB / 1.33 GB, free: 68.23 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-05/3.755, allocations: 19.98 kB / 1.33 GB, free: 68.21 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0008148/3.756, allocations: 330.9 kB / 1.33 GB, free: 67.89 MB / 0.4952 GB Notification: Performance of sort global known variables: time 9.62e-07/3.756, allocations: 4 kB / 1.33 GB, free: 67.88 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002914/3.758, allocations: 410 kB / 1.33 GB, free: 67.48 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.004662/3.763, allocations: 1.443 MB / 1.332 GB, free: 66.2 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001469/3.765, allocations: 307.7 kB / 1.332 GB, free: 65.89 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/3.765, allocations: 4 kB / 1.332 GB, free: 65.89 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.00048/3.765, allocations: 122.6 kB / 1.332 GB, free: 65.77 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/3.769, allocations: 266 kB / 1.333 GB, free: 65.52 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/3.771, allocations: 0.6201 MB / 1.333 GB, free: 64.84 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/3.772, allocations: 0.8742 MB / 1.334 GB, free: 63.94 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009035/3.773, allocations: 103.4 kB / 1.334 GB, free: 63.84 MB / 0.4952 GB Notification: Performance of SimCode: time 1.993e-06/3.773, allocations: 0 / 1.334 GB, free: 63.84 MB / 0.4952 GB Notification: Performance of Templates: time 0.03869/3.811, allocations: 18.75 MB / 1.352 GB, free: 45.07 MB / 0.4952 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