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.001737/0.001737, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00213/0.00213, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.152/2.152, allocations: 227.4 MB / 246.9 MB, free: 8.957 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.392/0.392, allocations: 46.11 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 77.16 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2031, allocations: 62.45 MB / 479.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.7689/0.9721, allocations: 181.9 MB / 0.6464 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.9832, allocations: 4.729 MB / 0.651 GB, free: 8.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.9848, allocations: 15.88 kB / 0.651 GB, free: 8.906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.9866, allocations: 290.4 kB / 0.6513 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008954/0.9956, allocations: 1.581 MB / 0.6528 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004323/1, allocations: 0.8634 MB / 0.6537 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004275/1.004, allocations: 2.202 MB / 0.6558 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009891/1.005, allocations: 381.9 kB / 0.6562 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/1.008, allocations: 0.7629 MB / 0.6569 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/1.009, allocations: 0.5175 MB / 0.6574 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/1.009, allocations: 32 kB / 0.6575 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/1.013, allocations: 1.217 MB / 0.6587 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003405/1.014, allocations: 151.4 kB / 0.6588 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000753/1.014, allocations: 358.3 kB / 0.6591 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0029/1.017, allocations: 1.165 MB / 0.6603 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/1.017, allocations: 0 / 0.6603 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.017, allocations: 0 / 0.6603 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.017, allocations: 0 / 0.6603 GB, free: 15.4 MB / 0.4981 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.003111/1.021, allocations: 1.118 MB / 0.6614 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/1.021, allocations: 8.031 kB / 0.6614 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/1.023, allocations: 167 kB / 0.6615 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/1.024, allocations: 488.4 kB / 0.662 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/1.024, allocations: 37 kB / 0.662 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/1.024, allocations: 44 kB / 0.6621 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/1.026, allocations: 0.6439 MB / 0.6627 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/1.026, allocations: 7.875 kB / 0.6627 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/1.026, allocations: 24 kB / 0.6627 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/1.026, allocations: 8 kB / 0.6628 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/1.028, allocations: 0.4957 MB / 0.6632 GB, free: 12.23 MB / 0.4981 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.005061/1.033, allocations: 2.637 MB / 0.6658 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/1.034, allocations: 330.6 kB / 0.6661 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/1.035, allocations: 165.7 kB / 0.6663 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006902/1.035, allocations: 433.5 kB / 0.6667 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/1.035, allocations: 42.5 kB / 0.6667 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 4.719e-06/1.035, allocations: 0 / 0.6667 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.002649/1.038, allocations: 0.7093 MB / 0.6674 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.038, allocations: 162.1 kB / 0.6676 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009954/1.039, allocations: 0.5223 MB / 0.6681 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.738e-05/1.039, allocations: 37.7 kB / 0.6681 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/1.04, allocations: 303.6 kB / 0.6684 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/1.04, allocations: 122.2 kB / 0.6685 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/1.04, allocations: 118.2 kB / 0.6687 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002267/1.04, allocations: 370.7 kB / 0.669 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/1.041, allocations: 145 kB / 0.6691 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/1.042, allocations: 322.9 kB / 0.6694 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.043, allocations: 462.9 kB / 0.6699 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.043, allocations: 4 kB / 0.6699 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001739/1.045, allocations: 0.5866 MB / 0.6705 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/1.045, allocations: 11.94 kB / 0.6705 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.045, allocations: 4.625 kB / 0.6705 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/1.047, allocations: 240.6 kB / 0.6707 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/1.048, allocations: 115.9 kB / 0.6708 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008289/1.049, allocations: 0.5836 MB / 0.6714 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/1.05, allocations: 67.36 kB / 0.6715 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/1.05, allocations: 56.05 kB / 0.6715 GB, free: 3.176 MB / 0.4981 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.0006691/1.051, allocations: 197.6 kB / 0.6717 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/1.051, allocations: 63.25 kB / 0.6718 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/1.054, allocations: 1.107 MB / 0.6728 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/1.055, allocations: 4 kB / 0.6728 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.055, allocations: 0 / 0.6728 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.055, allocations: 0 / 0.6728 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/1.057, allocations: 1.013 MB / 0.6738 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/1.057, allocations: 0 / 0.6738 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/1.057, allocations: 55.91 kB / 0.6739 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005274/1.063, allocations: 440.3 kB / 0.6743 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/1.063, allocations: 11.98 kB / 0.6743 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007446/1.063, allocations: 0.5992 MB / 0.6749 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.063, allocations: 4 kB / 0.6749 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/1.065, allocations: 0.5006 MB / 0.6754 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/1.065, allocations: 140.3 kB / 0.6755 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/1.065, allocations: 8 kB / 0.6755 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007017/1.066, allocations: 31.83 kB / 0.6756 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.066, allocations: 35.84 kB / 0.6756 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/1.066, allocations: 19.98 kB / 0.6756 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001002/1.067, allocations: 447 kB / 0.676 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/1.067, allocations: 0 / 0.676 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001786/1.069, allocations: 295.8 kB / 0.6763 GB, free: 14.04 MB / 0.5137 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.001534/1.071, allocations: 391.6 kB / 0.6767 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001382/1.072, allocations: 370 kB / 0.6771 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.072, allocations: 4 kB / 0.6771 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004952/1.073, allocations: 153.8 kB / 0.6772 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/1.076, allocations: 390.6 kB / 0.6776 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/1.079, allocations: 1.151 MB / 0.6787 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/1.079, allocations: 0.8715 MB / 0.6796 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007614/1.08, allocations: 131.4 kB / 0.6797 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/1.08, allocations: 0 / 0.6797 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.04021/1.12, allocations: 15.56 MB / 0.6949 GB, free: 11.03 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/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