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.00135/0.00135, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 74.78 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1272, allocations: 62.45 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4208/0.548, allocations: 184.1 MB / 0.65 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007117/0.5552, allocations: 4.617 MB / 0.6545 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006067/0.5558, allocations: 15.88 kB / 0.6545 GB, free: 5.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000924/0.5568, allocations: 337.7 kB / 0.6548 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004557/0.5614, allocations: 1.785 MB / 0.6565 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.5637, allocations: 0.9465 MB / 0.6575 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002175/0.5659, allocations: 1.703 MB / 0.6591 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005755/0.5665, allocations: 446.2 kB / 0.6596 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.5679, allocations: 0.8293 MB / 0.6604 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006723/0.5686, allocations: 0.502 MB / 0.6609 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.878e-05/0.5687, allocations: 52 kB / 0.6609 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.5711, allocations: 1.31 MB / 0.6622 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.5713, allocations: 167.4 kB / 0.6623 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.5717, allocations: 378.3 kB / 0.6627 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.5741, allocations: 1.644 MB / 0.6643 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5741, allocations: 0 / 0.6643 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.604e-06/0.5741, allocations: 4 kB / 0.6643 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.5741, allocations: 0 / 0.6643 GB, free: 11.78 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.001973/0.5761, allocations: 1.099 MB / 0.6654 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5762, allocations: 12.03 kB / 0.6654 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.5774, allocations: 167.1 kB / 0.6656 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009425/0.5783, allocations: 0.5042 MB / 0.666 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.5784, allocations: 37 kB / 0.6661 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.5784, allocations: 43.98 kB / 0.6661 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5795, allocations: 0.636 MB / 0.6667 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.5796, allocations: 3.938 kB / 0.6668 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.5796, allocations: 24 kB / 0.6668 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.5796, allocations: 12 kB / 0.6668 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008761/0.5805, allocations: 0.4918 MB / 0.6673 GB, free: 8.613 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.002722/0.5833, allocations: 2.644 MB / 0.6698 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/0.5839, allocations: 327.7 kB / 0.6702 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.5842, allocations: 160.7 kB / 0.6703 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/0.5845, allocations: 445.5 kB / 0.6707 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.5846, allocations: 34.56 kB / 0.6708 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.023e-06/0.5846, allocations: 4 kB / 0.6708 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001606/0.5862, allocations: 0.7131 MB / 0.6715 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.5863, allocations: 162.1 kB / 0.6716 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005696/0.5869, allocations: 0.5185 MB / 0.6721 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.5869, allocations: 29.7 kB / 0.6722 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.5871, allocations: 299.5 kB / 0.6724 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/0.5872, allocations: 126.2 kB / 0.6726 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.5874, allocations: 118.1 kB / 0.6727 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5875, allocations: 366.8 kB / 0.673 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.5878, allocations: 149 kB / 0.6732 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.5882, allocations: 319 kB / 0.6735 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006483/0.5889, allocations: 478.7 kB / 0.6739 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5889, allocations: 0 / 0.6739 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009595/0.5899, allocations: 0.5678 MB / 0.6745 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5899, allocations: 11.94 kB / 0.6745 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5899, allocations: 4 kB / 0.6745 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.5913, allocations: 240.7 kB / 0.6747 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.5917, allocations: 119.8 kB / 0.6748 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000458/0.5922, allocations: 0.5947 MB / 0.6754 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.5926, allocations: 55.42 kB / 0.6755 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.751e-05/0.5927, allocations: 51.98 kB / 0.6755 GB, free: 15.57 MB / 0.5137 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.0002488/0.5929, allocations: 189.6 kB / 0.6757 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.593, allocations: 63.28 kB / 0.6758 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.5949, allocations: 1.111 MB / 0.6769 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5949, allocations: 4 kB / 0.6769 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5949, allocations: 0 / 0.6769 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5949, allocations: 4 kB / 0.6769 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.5963, allocations: 1.011 MB / 0.6778 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5964, allocations: 0 / 0.6778 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.5966, allocations: 60.09 kB / 0.6779 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003019/0.5996, allocations: 440.2 kB / 0.6783 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.5996, allocations: 11.98 kB / 0.6783 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004267/0.6001, allocations: 0.5914 MB / 0.6789 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6001, allocations: 4.031 kB / 0.6789 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.6009, allocations: 0.5047 MB / 0.6794 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.601, allocations: 144.2 kB / 0.6796 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.696e-05/0.6011, allocations: 12 kB / 0.6796 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.6015, allocations: 24.05 kB / 0.6796 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.6015, allocations: 23.91 kB / 0.6796 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.6016, allocations: 16 kB / 0.6796 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005439/0.6022, allocations: 455 kB / 0.6801 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6022, allocations: 0 / 0.6801 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009648/0.6031, allocations: 287.8 kB / 0.6803 GB, free: 10.45 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.0008651/0.604, allocations: 399.9 kB / 0.6807 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000818/0.6048, allocations: 384 kB / 0.6811 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6049, allocations: 4 kB / 0.6811 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.6052, allocations: 153.7 kB / 0.6812 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.6068, allocations: 393.2 kB / 0.6816 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.6085, allocations: 0.9368 MB / 0.6825 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.6089, allocations: 0.8676 MB / 0.6834 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001167/0.6101, allocations: 0.5753 MB / 0.6839 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.6104, allocations: 87.41 kB / 0.684 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.6104, allocations: 0 / 0.684 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of Templates: time 0.02846/0.6388, allocations: 17.1 MB / 0.7007 GB, free: 5.637 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 -s cvode -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