Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001396/0.001396, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001565, allocations: 72.22 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4378, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2067/0.6445, allocations: 184.1 MB / 0.7108 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007449/0.6521, allocations: 4.604 MB / 0.7153 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009036/0.653, allocations: 19.88 kB / 0.7153 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.6541, allocations: 341.7 kB / 0.7156 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.6599, allocations: 1.78 MB / 0.7173 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.6628, allocations: 0.9506 MB / 0.7183 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4331/1.096, allocations: 1.698 MB / 0.7199 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/1.097, allocations: 445 kB / 0.7203 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/1.1, allocations: 0.8457 MB / 0.7212 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/1.101, allocations: 0.494 MB / 0.7217 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/1.101, allocations: 54.03 kB / 0.7217 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/1.105, allocations: 1.303 MB / 0.723 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002917/1.105, allocations: 172.8 kB / 0.7231 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006128/1.105, allocations: 375.6 kB / 0.7235 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004196/1.11, allocations: 1.645 MB / 0.7251 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.11, allocations: 1.203 kB / 0.7251 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.565e-06/1.11, allocations: 1.281 kB / 0.7251 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.581e-05/1.11, allocations: 0.8125 kB / 0.7251 GB, free: 3.867 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.003157/1.113, allocations: 1.128 MB / 0.7262 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.113, allocations: 14.12 kB / 0.7262 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/1.114, allocations: 166.3 kB / 0.7264 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/1.116, allocations: 0.5138 MB / 0.7269 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/1.116, allocations: 30.22 kB / 0.7269 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/1.116, allocations: 44.66 kB / 0.727 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/1.117, allocations: 0.6405 MB / 0.7276 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/1.117, allocations: 5.047 kB / 0.7276 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/1.117, allocations: 27.39 kB / 0.7276 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/1.117, allocations: 11.44 kB / 0.7276 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009043/1.118, allocations: 0.496 MB / 0.7281 GB, free: 18.76 MB / 0.5762 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.003353/1.122, allocations: 2.641 MB / 0.7307 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/1.122, allocations: 325.5 kB / 0.731 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/1.123, allocations: 158.8 kB / 0.7312 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005356/1.123, allocations: 440 kB / 0.7316 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/1.123, allocations: 44.48 kB / 0.7316 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.855e-06/1.123, allocations: 0.9688 kB / 0.7316 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001676/1.125, allocations: 0.7105 MB / 0.7323 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.125, allocations: 160.3 kB / 0.7325 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/1.126, allocations: 0.5251 MB / 0.733 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/1.126, allocations: 33.8 kB / 0.733 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/1.126, allocations: 309.2 kB / 0.7333 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/1.126, allocations: 131.6 kB / 0.7334 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/1.126, allocations: 120 kB / 0.7335 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.127, allocations: 365.6 kB / 0.7339 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/1.127, allocations: 143.9 kB / 0.734 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/1.127, allocations: 321.9 kB / 0.7343 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/1.128, allocations: 479.3 kB / 0.7348 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.128, allocations: 0 / 0.7348 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009965/1.129, allocations: 0.5742 MB / 0.7354 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.129, allocations: 12.41 kB / 0.7354 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.129, allocations: 4.609 kB / 0.7354 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/1.13, allocations: 237.4 kB / 0.7356 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/1.131, allocations: 122.5 kB / 0.7357 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004804/1.131, allocations: 0.5886 MB / 0.7363 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/1.132, allocations: 55.09 kB / 0.7363 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/1.132, allocations: 58.3 kB / 0.7364 GB, free: 14.44 MB / 0.5762 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.0002579/1.132, allocations: 194.6 kB / 0.7366 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/1.132, allocations: 63.88 kB / 0.7366 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/1.134, allocations: 1.099 MB / 0.7377 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/1.134, allocations: 4.906 kB / 0.7377 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.134, allocations: 0.9688 kB / 0.7377 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/1.134, allocations: 4.047 kB / 0.7377 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/1.136, allocations: 1.021 MB / 0.7387 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.136, allocations: 2.094 kB / 0.7387 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/1.136, allocations: 55.09 kB / 0.7388 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/1.139, allocations: 447.3 kB / 0.7392 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/1.139, allocations: 6.844 kB / 0.7392 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005167/1.139, allocations: 0.5983 MB / 0.7398 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.139, allocations: 6.594 kB / 0.7398 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008764/1.14, allocations: 0.4992 MB / 0.7403 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/1.14, allocations: 141.9 kB / 0.7404 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.141, allocations: 21.42 kB / 0.7404 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/1.141, allocations: 15.11 kB / 0.7405 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/1.141, allocations: 26.95 kB / 0.7405 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/1.141, allocations: 23.94 kB / 0.7405 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006014/1.142, allocations: 445.3 kB / 0.7409 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.142, allocations: 3.062 kB / 0.7409 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001629/1.143, allocations: 292.1 kB / 0.7412 GB, free: 12.7 MB / 0.5762 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.001058/1.144, allocations: 398 kB / 0.7416 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008023/1.145, allocations: 378.4 kB / 0.742 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.145, allocations: 0.9688 kB / 0.742 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/1.145, allocations: 153 kB / 0.7421 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/1.147, allocations: 412.5 kB / 0.7425 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/1.149, allocations: 0.9512 MB / 0.7434 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/1.149, allocations: 0.872 MB / 0.7443 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001093/1.15, allocations: 0.5688 MB / 0.7448 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/1.151, allocations: 96.08 kB / 0.7449 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/1.151, allocations: 0.625 kB / 0.7449 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of Templates: time 0.03057/1.181, allocations: 17.17 MB / 0.7617 GB, free: 9.289 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches