Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001272, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 183.8 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.18 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3914, allocations: 60.81 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2208/0.6123, allocations: 181.1 MB / 0.6958 GB, free: 6.262 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008313/0.6206, allocations: 4.599 MB / 0.7003 GB, free: 1.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.6219, allocations: 11.94 kB / 0.7003 GB, free: 1.637 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.6233, allocations: 349.7 kB / 0.7006 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.629, allocations: 1.774 MB / 0.7024 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.6316, allocations: 0.9423 MB / 0.7033 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.6338, allocations: 1.703 MB / 0.7049 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00069/0.6345, allocations: 434.3 kB / 0.7054 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.6361, allocations: 0.8409 MB / 0.7062 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/0.6368, allocations: 0.4942 MB / 0.7067 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.637, allocations: 59.98 kB / 0.7067 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.6397, allocations: 1.283 MB / 0.708 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.6399, allocations: 175.4 kB / 0.7081 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.6403, allocations: 370.4 kB / 0.7085 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002312/0.6426, allocations: 1.632 MB / 0.7101 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.6426, allocations: 0 / 0.7101 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6426, allocations: 4 kB / 0.7101 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.6426, allocations: 0 / 0.7101 GB, free: 7.574 MB / 0.5606 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.002169/0.6448, allocations: 1.102 MB / 0.7112 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.6449, allocations: 12.03 kB / 0.7112 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.6461, allocations: 147.2 kB / 0.7113 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008301/0.6469, allocations: 0.5003 MB / 0.7118 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.647, allocations: 40.98 kB / 0.7119 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.647, allocations: 44 kB / 0.7119 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.6482, allocations: 0.6477 MB / 0.7125 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.6482, allocations: 0 / 0.7125 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.6483, allocations: 27.98 kB / 0.7126 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.6483, allocations: 12 kB / 0.7126 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.6492, allocations: 499.5 kB / 0.713 GB, free: 4.418 MB / 0.5606 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.00314/0.6524, allocations: 2.652 MB / 0.7156 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.653, allocations: 322.7 kB / 0.7159 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.6533, allocations: 156.9 kB / 0.7161 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/0.6537, allocations: 441.4 kB / 0.7165 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.6538, allocations: 46.42 kB / 0.7166 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.6538, allocations: 0 / 0.7166 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.3551/1.009, allocations: 0.693 MB / 0.7172 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/1.009, allocations: 165.3 kB / 0.7174 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/1.01, allocations: 0.5158 MB / 0.7179 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-05/1.01, allocations: 32.36 kB / 0.7179 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/1.01, allocations: 298.7 kB / 0.7182 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/1.011, allocations: 129.5 kB / 0.7183 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/1.011, allocations: 122 kB / 0.7184 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.011, allocations: 365.9 kB / 0.7188 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/1.011, allocations: 143.1 kB / 0.7189 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/1.012, allocations: 324 kB / 0.7192 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/1.013, allocations: 480.2 kB / 0.7197 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.013, allocations: 1.406 kB / 0.7197 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00113/1.014, allocations: 0.5714 MB / 0.7203 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.014, allocations: 8.438 kB / 0.7203 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.014, allocations: 4.438 kB / 0.7203 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/1.015, allocations: 241 kB / 0.7205 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/1.016, allocations: 118 kB / 0.7206 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003586/1.016, allocations: 0.5834 MB / 0.7212 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/1.017, allocations: 57.95 kB / 0.7212 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.017, allocations: 53.52 kB / 0.7213 GB, free: 188.4 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003082/1.017, allocations: 193.4 kB / 0.7215 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/1.017, allocations: 66.78 kB / 0.7215 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/1.02, allocations: 1.103 MB / 0.7226 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.02, allocations: 3.375 kB / 0.7226 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.02, allocations: 0.5156 kB / 0.7226 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.02, allocations: 6.266 kB / 0.7226 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/1.021, allocations: 1.018 MB / 0.7236 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.021, allocations: 1.594 kB / 0.7236 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/1.022, allocations: 48.28 kB / 0.7237 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003342/1.025, allocations: 441.9 kB / 0.7241 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/1.025, allocations: 17.28 kB / 0.7241 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003652/1.025, allocations: 0.5975 MB / 0.7247 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.025, allocations: 1.375 kB / 0.7247 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/1.026, allocations: 0.4949 MB / 0.7252 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/1.026, allocations: 137 kB / 0.7253 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.026, allocations: 20.03 kB / 0.7253 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/1.027, allocations: 16.02 kB / 0.7253 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/1.027, allocations: 31.52 kB / 0.7254 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/1.027, allocations: 20.11 kB / 0.7254 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006088/1.028, allocations: 440.2 kB / 0.7258 GB, free: 186 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.028, allocations: 0 / 0.7258 GB, free: 186 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001181/1.029, allocations: 287.8 kB / 0.7261 GB, free: 186 MB / 0.5606 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009525/1.03, allocations: 391.5 kB / 0.7265 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009067/1.031, allocations: 378.1 kB / 0.7268 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.031, allocations: 1.062 kB / 0.7268 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/1.031, allocations: 156.3 kB / 0.727 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/1.033, allocations: 401.4 kB / 0.7273 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/1.034, allocations: 0.9401 MB / 0.7283 GB, free: 185 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/1.035, allocations: 0.8654 MB / 0.7291 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001067/1.036, allocations: 0.5718 MB / 0.7297 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/1.036, allocations: 92.92 kB / 0.7298 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of SimCode: time 4.8e-07/1.036, allocations: 0 / 0.7298 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.02754/1.064, allocations: 17.4 MB / 0.7468 GB, free: 171.9 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches