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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009745/0.0009745, allocations: 99.88 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.352/0.352, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001067, allocations: 60.14 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3529, allocations: 62.01 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5535/0.9064, allocations: 179.1 MB / 0.69 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006572/0.913, allocations: 4.719 MB / 0.6946 GB, free: 1.668 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007756/0.9139, allocations: 19.03 kB / 0.6947 GB, free: 1.668 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009207/0.9148, allocations: 293.8 kB / 0.6949 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004683/0.9195, allocations: 1.564 MB / 0.6965 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.922, allocations: 0.8637 MB / 0.6973 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.9249, allocations: 2.199 MB / 0.6994 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006549/0.9256, allocations: 390.4 kB / 0.6998 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.9273, allocations: 0.7745 MB / 0.7006 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007921/0.9281, allocations: 0.5178 MB / 0.7011 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.224e-05/0.9282, allocations: 30.09 kB / 0.7011 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.9313, allocations: 1.21 MB / 0.7023 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.9315, allocations: 154.5 kB / 0.7024 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.9322, allocations: 355 kB / 0.7028 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003729/0.9359, allocations: 1.608 MB / 0.7044 GB, free: 1.398 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.9359, allocations: 0.5938 kB / 0.7044 GB, free: 1.398 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.9359, allocations: 0 / 0.7044 GB, free: 1.398 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.936, allocations: 0.875 kB / 0.7044 GB, free: 1.398 MB / 490.7 MB 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.002697/0.9387, allocations: 1.113 MB / 0.7054 GB, free: 16.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.9387, allocations: 9.844 kB / 0.7054 GB, free: 16.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.94, allocations: 160.5 kB / 0.7056 GB, free: 16.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008393/0.9409, allocations: 497.1 kB / 0.7061 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.9409, allocations: 32.78 kB / 0.7061 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.042e-05/0.941, allocations: 43.31 kB / 0.7061 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.9422, allocations: 0.6467 MB / 0.7068 GB, free: 16.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.9422, allocations: 5.25 kB / 0.7068 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.9423, allocations: 21.22 kB / 0.7068 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.9423, allocations: 11.31 kB / 0.7068 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.9433, allocations: 0.4905 MB / 0.7073 GB, free: 16.3 MB / 0.4948 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.003249/0.9466, allocations: 2.65 MB / 0.7099 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.9473, allocations: 337.3 kB / 0.7102 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.9476, allocations: 158.9 kB / 0.7104 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/0.9481, allocations: 436.8 kB / 0.7108 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.9481, allocations: 40.69 kB / 0.7108 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.9481, allocations: 0.5938 kB / 0.7108 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.001734/0.9499, allocations: 0.7031 MB / 0.7115 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/0.95, allocations: 159.7 kB / 0.7117 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006891/0.9507, allocations: 0.5222 MB / 0.7122 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.9507, allocations: 32.58 kB / 0.7122 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.9509, allocations: 300.9 kB / 0.7125 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.032e-05/0.951, allocations: 126.9 kB / 0.7126 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.9512, allocations: 120.5 kB / 0.7127 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.9514, allocations: 373.8 kB / 0.7131 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.9517, allocations: 142.5 kB / 0.7132 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.9521, allocations: 321.9 kB / 0.7135 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007197/0.9529, allocations: 476.2 kB / 0.714 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9529, allocations: 2.625 kB / 0.714 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001085/0.954, allocations: 0.574 MB / 0.7145 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.954, allocations: 7.188 kB / 0.7145 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.954, allocations: 4.656 kB / 0.7145 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.9555, allocations: 236.8 kB / 0.7148 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.956, allocations: 123.9 kB / 0.7149 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004724/0.9565, allocations: 0.5886 MB / 0.7155 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.957, allocations: 63.42 kB / 0.7155 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.9571, allocations: 53.06 kB / 0.7156 GB, free: 11.93 MB / 0.4948 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.0002899/0.9574, allocations: 197.1 kB / 0.7158 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.9576, allocations: 59.83 kB / 0.7158 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/0.9597, allocations: 1.105 MB / 0.7169 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.9597, allocations: 9.469 kB / 0.7169 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.9597, allocations: 0 / 0.7169 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.9597, allocations: 0 / 0.7169 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.9612, allocations: 1.012 MB / 0.7179 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.9612, allocations: 3.438 kB / 0.7179 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.9614, allocations: 46.36 kB / 0.7179 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/0.9644, allocations: 442.4 kB / 0.7184 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.9644, allocations: 12.34 kB / 0.7184 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004135/0.9649, allocations: 0.6081 MB / 0.719 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.9649, allocations: 5.141 kB / 0.719 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.9661, allocations: 1.289 MB / 0.7202 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.9663, allocations: 145 kB / 0.7204 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.8e-05/0.9664, allocations: 11.34 kB / 0.7204 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.9668, allocations: 31.92 kB / 0.7204 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.9669, allocations: 28.48 kB / 0.7204 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.9669, allocations: 20.86 kB / 0.7205 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004926/0.9674, allocations: 442.1 kB / 0.7209 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9674, allocations: 0 / 0.7209 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001284/0.9687, allocations: 299.5 kB / 0.7212 GB, free: 9.551 MB / 0.4948 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.0008641/0.9696, allocations: 393 kB / 0.7215 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007289/0.9703, allocations: 373.7 kB / 0.7219 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9703, allocations: 0 / 0.7219 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.9706, allocations: 155.2 kB / 0.722 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.9725, allocations: 387.4 kB / 0.7224 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.9741, allocations: 1.327 MB / 0.7237 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.9745, allocations: 0.8738 MB / 0.7246 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001168/0.9757, allocations: 0.5724 MB / 0.7251 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.9759, allocations: 97.22 kB / 0.7252 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.9759, allocations: 0 / 0.7252 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of Templates: time 0.02583/1.002, allocations: 16.84 MB / 0.7417 GB, free: 0.7305 MB / 0.4948 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches