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.001038/0.001039, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1987/0.1987, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 75.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.09766, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3582/0.4559, allocations: 184.1 MB / 0.6499 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006947/0.4629, allocations: 4.608 MB / 0.6544 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000534/0.4635, allocations: 19.88 kB / 0.6545 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009079/0.4644, allocations: 341.7 kB / 0.6548 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.4684, allocations: 1.782 MB / 0.6565 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.4706, allocations: 0.9494 MB / 0.6575 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.4724, allocations: 1.702 MB / 0.6591 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.473, allocations: 446.2 kB / 0.6595 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.4743, allocations: 0.8409 MB / 0.6604 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005693/0.4749, allocations: 0.498 MB / 0.6609 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.138e-05/0.475, allocations: 56 kB / 0.6609 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.4771, allocations: 1.299 MB / 0.6622 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.4773, allocations: 175.4 kB / 0.6623 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.4776, allocations: 382.3 kB / 0.6627 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.4795, allocations: 1.632 MB / 0.6643 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.4795, allocations: 0 / 0.6643 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4795, allocations: 3.938 kB / 0.6643 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.4796, 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.001812/0.4814, allocations: 1.106 MB / 0.6654 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.4814, allocations: 12.03 kB / 0.6654 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.4826, allocations: 164.3 kB / 0.6656 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008219/0.4834, allocations: 0.5042 MB / 0.666 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.4835, allocations: 33 kB / 0.6661 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.289e-05/0.4835, allocations: 40 kB / 0.6661 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.4846, allocations: 0.6438 MB / 0.6667 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4846, allocations: 3.938 kB / 0.6667 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.4847, allocations: 27.98 kB / 0.6668 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.4847, allocations: 16 kB / 0.6668 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008326/0.4855, allocations: 495.6 kB / 0.6673 GB, free: 8.605 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.002719/0.4883, allocations: 2.641 MB / 0.6698 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/0.4889, allocations: 327.6 kB / 0.6702 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.4892, allocations: 160.8 kB / 0.6703 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.4895, allocations: 437.5 kB / 0.6707 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.4895, allocations: 38.56 kB / 0.6708 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 3.035e-06/0.4896, allocations: 3.984 kB / 0.6708 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.00151/0.4911, allocations: 0.717 MB / 0.6715 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.4912, allocations: 170 kB / 0.6716 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.4917, allocations: 0.5146 MB / 0.6721 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.4918, allocations: 33.7 kB / 0.6722 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.492, allocations: 303.5 kB / 0.6724 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.492, allocations: 126.2 kB / 0.6726 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.4922, allocations: 118.1 kB / 0.6727 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4924, allocations: 362.8 kB / 0.673 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.4927, allocations: 151.3 kB / 0.6732 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.493, allocations: 322.9 kB / 0.6735 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.4937, allocations: 470.7 kB / 0.6739 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4937, allocations: 4 kB / 0.6739 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009521/0.4947, allocations: 0.5674 MB / 0.6745 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4947, allocations: 11.92 kB / 0.6745 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.4947, allocations: 8 kB / 0.6745 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.4962, allocations: 233.2 kB / 0.6747 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.4966, allocations: 127.8 kB / 0.6748 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004329/0.497, allocations: 0.5874 MB / 0.6754 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.4974, allocations: 51.44 kB / 0.6755 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.4975, allocations: 55.98 kB / 0.6755 GB, free: 15.55 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.0002348/0.4977, allocations: 193.2 kB / 0.6757 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.4978, allocations: 63.41 kB / 0.6758 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.4996, allocations: 1.092 MB / 0.6768 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4996, allocations: 4 kB / 0.6768 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.4996, allocations: 0 / 0.6768 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4996, allocations: 3.984 kB / 0.6768 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.501, allocations: 1.015 MB / 0.6778 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.501, allocations: 4 kB / 0.6778 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.5012, allocations: 59.84 kB / 0.6779 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003013/0.5042, allocations: 440.3 kB / 0.6783 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.5042, allocations: 8 kB / 0.6783 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003911/0.5046, allocations: 0.6007 MB / 0.6789 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5047, allocations: 0 / 0.6789 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.5053, allocations: 0.5086 MB / 0.6794 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.5055, allocations: 144.2 kB / 0.6795 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.335e-05/0.5056, allocations: 8 kB / 0.6796 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.5059, allocations: 15.98 kB / 0.6796 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.506, allocations: 27.91 kB / 0.6796 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.506, allocations: 23.98 kB / 0.6796 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004883/0.5065, allocations: 451 kB / 0.68 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5065, allocations: 0 / 0.68 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008203/0.5074, allocations: 291.8 kB / 0.6803 GB, free: 10.44 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.0007908/0.5082, allocations: 384.5 kB / 0.6807 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007429/0.5089, allocations: 385.1 kB / 0.6811 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5089, allocations: 0 / 0.6811 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.5092, allocations: 160.4 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.001606/0.5108, allocations: 411.7 kB / 0.6816 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.5124, allocations: 0.9305 MB / 0.6825 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.5128, allocations: 0.8676 MB / 0.6834 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000983/0.5138, allocations: 0.5708 MB / 0.6839 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.5141, allocations: 99.38 kB / 0.684 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.5141, allocations: 0 / 0.684 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of Templates: time 0.02595/0.54, allocations: 17.09 MB / 0.7007 GB, free: 5.633 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 gbode -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