Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001818, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 242.9 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2066/0.2066, allocations: 44.18 MB / 337.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 69.3 kB / 409.1 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 60.82 MB / 469.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4044/0.5222, allocations: 181.1 MB / 0.6358 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00722/0.5294, allocations: 4.596 MB / 0.6403 GB, free: 6.805 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007486/0.5302, allocations: 19.88 kB / 0.6403 GB, free: 6.785 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.5315, allocations: 341.7 kB / 0.6406 GB, free: 6.449 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005264/0.5368, allocations: 1.775 MB / 0.6424 GB, free: 4.668 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.5395, allocations: 0.9441 MB / 0.6433 GB, free: 3.734 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.5422, allocations: 1.695 MB / 0.645 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008446/0.5431, allocations: 442.9 kB / 0.6454 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.5451, allocations: 0.8332 MB / 0.6462 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009562/0.546, allocations: 498.1 kB / 0.6467 GB, free: 280 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.5463, allocations: 56 kB / 0.6467 GB, free: 224 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/0.5492, allocations: 1.252 MB / 0.6479 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.5495, allocations: 175.5 kB / 0.6481 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.5502, allocations: 378.3 kB / 0.6485 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003269/0.5535, allocations: 1.617 MB / 0.65 GB, free: 12.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5535, allocations: 0 / 0.65 GB, free: 12.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5535, allocations: 0 / 0.65 GB, free: 12.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.048e-05/0.5535, allocations: 0 / 0.65 GB, free: 12.8 MB / 494.1 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.002427/0.556, allocations: 1.103 MB / 0.6511 GB, free: 11.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.556, allocations: 12.03 kB / 0.6511 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.5573, allocations: 155.1 kB / 0.6513 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008258/0.5581, allocations: 0.4886 MB / 0.6518 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.5582, allocations: 29 kB / 0.6518 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/0.5583, allocations: 44 kB / 0.6518 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.5596, allocations: 0.6438 MB / 0.6525 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.5596, allocations: 3.938 kB / 0.6525 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/0.5597, allocations: 28 kB / 0.6525 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.5597, allocations: 12 kB / 0.6525 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/0.5606, allocations: 0.4917 MB / 0.653 GB, free: 9.652 MB / 494.1 MB 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.003279/0.5639, allocations: 2.648 MB / 0.6556 GB, free: 6.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/0.5647, allocations: 332.2 kB / 0.6559 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.565, allocations: 160.9 kB / 0.656 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005307/0.5655, allocations: 433.5 kB / 0.6565 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.5656, allocations: 38.56 kB / 0.6565 GB, free: 5.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 4.328e-06/0.5656, allocations: 4 kB / 0.6565 GB, free: 5.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001745/0.5674, allocations: 0.7024 MB / 0.6572 GB, free: 5.027 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.5674, allocations: 166.2 kB / 0.6573 GB, free: 4.828 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.5681, allocations: 0.5184 MB / 0.6578 GB, free: 4.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/0.5682, allocations: 37.7 kB / 0.6579 GB, free: 4.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.5684, allocations: 307.5 kB / 0.6582 GB, free: 3.949 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.5685, allocations: 122.2 kB / 0.6583 GB, free: 3.828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.5687, allocations: 122.1 kB / 0.6584 GB, free: 3.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5689, allocations: 366.7 kB / 0.6588 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.5692, allocations: 145.9 kB / 0.6589 GB, free: 3.191 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.5696, allocations: 319 kB / 0.6592 GB, free: 2.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007383/0.5704, allocations: 477.7 kB / 0.6597 GB, free: 2.273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5704, allocations: 0 / 0.6597 GB, free: 2.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001069/0.5715, allocations: 0.5713 MB / 0.6602 GB, free: 1.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.5715, allocations: 19.2 kB / 0.6602 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5715, allocations: 4 kB / 0.6602 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.5731, allocations: 240.5 kB / 0.6605 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.5735, allocations: 120.7 kB / 0.6606 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004452/0.574, allocations: 0.5913 MB / 0.6612 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.5744, allocations: 47.44 kB / 0.6612 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.5745, allocations: 51.98 kB / 0.6613 GB, free: 0.6016 MB / 494.1 MB 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.000286/0.5748, allocations: 201.7 kB / 0.6614 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.5749, allocations: 63.33 kB / 0.6615 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.5769, allocations: 1.102 MB / 0.6626 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.5769, allocations: 4 kB / 0.6626 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5769, allocations: 0 / 0.6626 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.5769, allocations: 3.984 kB / 0.6626 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.5784, allocations: 1.013 MB / 0.6636 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5784, allocations: 0 / 0.6636 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.5786, allocations: 47.97 kB / 0.6636 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/0.5818, allocations: 444.3 kB / 0.664 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.5819, allocations: 15.98 kB / 0.6641 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004297/0.5823, allocations: 0.5992 MB / 0.6646 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5823, allocations: 4.031 kB / 0.6647 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.5831, allocations: 0.5045 MB / 0.6651 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.5832, allocations: 132.4 kB / 0.6653 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.5834, allocations: 19.84 kB / 0.6653 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.5837, allocations: 11.98 kB / 0.6653 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.5838, allocations: 43.78 kB / 0.6653 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.5839, allocations: 19.98 kB / 0.6654 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005413/0.5844, allocations: 434.8 kB / 0.6658 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5844, allocations: 4 kB / 0.6658 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009254/0.5853, allocations: 291.8 kB / 0.6661 GB, free: 11.48 MB / 0.4981 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.0009358/0.5863, allocations: 388.6 kB / 0.6664 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008478/0.5871, allocations: 389.2 kB / 0.6668 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5872, allocations: 256 / 0.6668 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.5875, allocations: 160 kB / 0.667 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.5895, allocations: 403.9 kB / 0.6673 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.591, allocations: 0.9745 MB / 0.6683 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.5914, allocations: 0.8676 MB / 0.6691 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/0.5919, allocations: 135.3 kB / 0.6693 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.5919, allocations: 0 / 0.6693 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of Templates: time 0.02212/0.614, allocations: 15.49 MB / 0.6844 GB, free: 8.699 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches