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.001457/0.001457, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001845/0.001845, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 246.3 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.09 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 75.5 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1295, allocations: 62.46 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.491/0.6205, allocations: 181.9 MB / 0.6458 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007364/0.6279, allocations: 4.73 MB / 0.6504 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007457/0.6287, allocations: 23.88 kB / 0.6504 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009985/0.6297, allocations: 290.4 kB / 0.6507 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004777/0.6345, allocations: 1.569 MB / 0.6522 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.6371, allocations: 0.8555 MB / 0.653 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.6397, allocations: 2.21 MB / 0.6552 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005855/0.6403, allocations: 386 kB / 0.6556 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.6419, allocations: 0.7745 MB / 0.6563 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006638/0.6426, allocations: 0.5097 MB / 0.6568 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.6427, allocations: 28 kB / 0.6568 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.6453, allocations: 1.221 MB / 0.658 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.6456, allocations: 155.4 kB / 0.6582 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004026/0.646, allocations: 358.3 kB / 0.6585 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.6482, allocations: 1.609 MB / 0.6601 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.6482, allocations: 4 kB / 0.6601 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6482, allocations: 3.938 kB / 0.6601 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.6482, allocations: 0 / 0.6601 GB, free: 15.02 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.002035/0.6503, allocations: 1.106 MB / 0.6612 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6504, allocations: 12.03 kB / 0.6612 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.6516, allocations: 163 kB / 0.6614 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/0.6523, allocations: 492.4 kB / 0.6618 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.6524, allocations: 33 kB / 0.6619 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.6525, allocations: 44 kB / 0.6619 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.6536, allocations: 0.64 MB / 0.6625 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.6536, allocations: 3.938 kB / 0.6625 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.05e-05/0.6537, allocations: 24 kB / 0.6626 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.6537, allocations: 15.94 kB / 0.6626 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009838/0.6547, allocations: 0.4918 MB / 0.663 GB, free: 11.87 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.003737/0.6584, allocations: 2.648 MB / 0.6656 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/0.6592, allocations: 326.7 kB / 0.6659 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.6595, allocations: 160.7 kB / 0.6661 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/0.66, allocations: 441.5 kB / 0.6665 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.66, allocations: 38.56 kB / 0.6666 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.6601, allocations: 0 / 0.6666 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001664/0.6617, allocations: 0.7015 MB / 0.6672 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/0.6618, allocations: 166.1 kB / 0.6674 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.6624, allocations: 0.5223 MB / 0.6679 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.6625, allocations: 29.7 kB / 0.6679 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.6627, allocations: 303.6 kB / 0.6682 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.6628, allocations: 126.2 kB / 0.6683 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.663, allocations: 118.2 kB / 0.6685 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.6632, allocations: 366.8 kB / 0.6688 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.6635, allocations: 137.1 kB / 0.6689 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.6639, allocations: 322.9 kB / 0.6692 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.6647, allocations: 474.9 kB / 0.6697 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6647, allocations: 0 / 0.6697 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001047/0.6657, allocations: 0.5789 MB / 0.6703 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.6658, allocations: 11.94 kB / 0.6703 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6658, allocations: 4.625 kB / 0.6703 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/0.6674, allocations: 248.5 kB / 0.6705 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.6678, allocations: 111.9 kB / 0.6706 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004847/0.6683, allocations: 0.5876 MB / 0.6712 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.6687, allocations: 68.23 kB / 0.6713 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/0.6688, allocations: 59.98 kB / 0.6713 GB, free: 2.809 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.0002739/0.6691, allocations: 193.6 kB / 0.6715 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.6692, allocations: 63.25 kB / 0.6716 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.6713, allocations: 1.106 MB / 0.6726 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6713, allocations: 4 kB / 0.6727 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.6713, allocations: 0 / 0.6727 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6713, allocations: 3.984 kB / 0.6727 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.6727, allocations: 1.012 MB / 0.6736 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6727, allocations: 4 kB / 0.6736 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.673, allocations: 47.86 kB / 0.6737 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/0.6764, allocations: 452.3 kB / 0.6741 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.6765, allocations: 8 kB / 0.6741 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004552/0.6769, allocations: 0.5953 MB / 0.6747 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.677, allocations: 7.969 kB / 0.6747 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/0.6778, allocations: 0.4928 MB / 0.6752 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.6779, allocations: 140.3 kB / 0.6753 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.6781, allocations: 15.98 kB / 0.6754 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.6785, allocations: 27.83 kB / 0.6754 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.6786, allocations: 35.84 kB / 0.6754 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.6786, allocations: 19.98 kB / 0.6754 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005729/0.6792, allocations: 447 kB / 0.6759 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6792, allocations: 0 / 0.6759 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009298/0.6801, allocations: 299.8 kB / 0.6761 GB, free: 13.67 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.0009489/0.6811, allocations: 386.5 kB / 0.6765 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008156/0.6819, allocations: 373.3 kB / 0.6769 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6819, allocations: 0 / 0.6769 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.6822, allocations: 148.8 kB / 0.677 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.6841, allocations: 390.2 kB / 0.6774 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.6857, allocations: 1.114 MB / 0.6785 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.6861, allocations: 0.8754 MB / 0.6793 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001244/0.6874, allocations: 0.5681 MB / 0.6799 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.6877, allocations: 91.39 kB / 0.68 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.6877, allocations: 4 kB / 0.68 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of Templates: time 0.02782/0.7155, allocations: 16.5 MB / 0.6961 GB, free: 9.297 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/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