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.001044/0.001044, allocations: 108.8 kB / 17.21 MB, free: 6.27 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.00102/0.00102, allocations: 194 kB / 18.12 MB, free: 5.363 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.403/1.403, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2164/0.2164, allocations: 44.16 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.94 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1506, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5278/0.6784, allocations: 179 MB / 0.6324 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00841/0.6869, allocations: 4.702 MB / 0.637 GB, free: 9.395 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.688, allocations: 19.81 kB / 0.637 GB, free: 9.375 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.6895, allocations: 298.4 kB / 0.6373 GB, free: 9.082 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005905/0.6954, allocations: 1.562 MB / 0.6388 GB, free: 7.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.6981, allocations: 0.8604 MB / 0.6396 GB, free: 6.664 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003154/0.7013, allocations: 2.186 MB / 0.6418 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008815/0.7022, allocations: 390.6 kB / 0.6421 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.7043, allocations: 0.7707 MB / 0.6429 GB, free: 3.316 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.7055, allocations: 0.5097 MB / 0.6434 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002286/0.7058, allocations: 28 kB / 0.6434 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/0.7092, allocations: 1.205 MB / 0.6446 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003571/0.7096, allocations: 155.4 kB / 0.6447 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007733/0.7104, allocations: 354.3 kB / 0.6451 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.7142, allocations: 1.609 MB / 0.6466 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7142, allocations: 0 / 0.6466 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.7143, allocations: 4 kB / 0.6466 GB, free: 15.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.839e-05/0.7143, allocations: 0 / 0.6466 GB, free: 15.45 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.002903/0.7172, allocations: 1.106 MB / 0.6477 GB, free: 14.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.7173, allocations: 8.031 kB / 0.6477 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.7187, allocations: 155.1 kB / 0.6479 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009702/0.7196, allocations: 488.4 kB / 0.6483 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.7197, allocations: 37 kB / 0.6484 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-05/0.7198, allocations: 40 kB / 0.6484 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.7213, allocations: 0.64 MB / 0.649 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.7214, allocations: 7.875 kB / 0.6491 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/0.7215, allocations: 31.98 kB / 0.6491 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.7215, allocations: 12 kB / 0.6491 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.7225, allocations: 0.4918 MB / 0.6496 GB, free: 12.32 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.003627/0.7262, allocations: 2.648 MB / 0.6522 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/0.727, allocations: 328.5 kB / 0.6525 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.7273, allocations: 160.8 kB / 0.6526 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005697/0.7279, allocations: 437.5 kB / 0.653 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.7279, allocations: 38.56 kB / 0.6531 GB, free: 8.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/0.7279, allocations: 0 / 0.6531 GB, free: 8.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001985/0.7299, allocations: 0.7054 MB / 0.6538 GB, free: 7.691 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.7301, allocations: 162.2 kB / 0.6539 GB, free: 7.496 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007844/0.7309, allocations: 0.5184 MB / 0.6544 GB, free: 6.965 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.7309, allocations: 33.7 kB / 0.6545 GB, free: 6.926 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.7312, allocations: 303.6 kB / 0.6548 GB, free: 6.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.7314, allocations: 122.2 kB / 0.6549 GB, free: 6.504 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.7317, allocations: 118.1 kB / 0.655 GB, free: 6.383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.7319, allocations: 366.8 kB / 0.6553 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.7323, allocations: 145.1 kB / 0.6555 GB, free: 5.875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.7329, allocations: 322.9 kB / 0.6558 GB, free: 5.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00096/0.7339, allocations: 474.8 kB / 0.6562 GB, free: 4.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.7339, allocations: 4 kB / 0.6562 GB, free: 4.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001455/0.7353, allocations: 0.5674 MB / 0.6568 GB, free: 4.371 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.7354, allocations: 7.938 kB / 0.6568 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.7354, allocations: 8 kB / 0.6568 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.7372, allocations: 241.1 kB / 0.657 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.7376, allocations: 120.6 kB / 0.6571 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006691/0.7383, allocations: 0.5874 MB / 0.6577 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.7389, allocations: 67.36 kB / 0.6578 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.677e-05/0.739, allocations: 51.98 kB / 0.6578 GB, free: 3.27 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.0003478/0.7393, allocations: 197.6 kB / 0.658 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.7395, allocations: 63.28 kB / 0.6581 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.7416, allocations: 1.104 MB / 0.6592 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.7417, allocations: 4 kB / 0.6592 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7417, allocations: 0 / 0.6592 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.7417, allocations: 3.984 kB / 0.6592 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.7433, allocations: 1.004 MB / 0.6602 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.7433, allocations: 4 kB / 0.6602 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.7435, allocations: 59.84 kB / 0.6602 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003421/0.7469, allocations: 444.3 kB / 0.6606 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.747, allocations: 8 kB / 0.6606 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005649/0.7476, allocations: 0.5997 MB / 0.6612 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.7476, allocations: 8 kB / 0.6612 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.7484, allocations: 0.493 MB / 0.6617 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.7487, allocations: 140.3 kB / 0.6619 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.7488, allocations: 13.34 kB / 0.6619 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.7492, allocations: 35.84 kB / 0.6619 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.7493, allocations: 27.91 kB / 0.6619 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.7494, allocations: 23.98 kB / 0.6619 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006177/0.75, allocations: 434.8 kB / 0.6624 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.75, allocations: 0 / 0.6624 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001108/0.7511, allocations: 291.8 kB / 0.6626 GB, free: 14.16 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.001227/0.7524, allocations: 401.4 kB / 0.663 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009045/0.7533, allocations: 381.1 kB / 0.6634 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.7533, allocations: 4 kB / 0.6634 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.7536, allocations: 151.8 kB / 0.6635 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.7556, allocations: 383.2 kB / 0.6639 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.7575, allocations: 1.122 MB / 0.665 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.7582, allocations: 0.8676 MB / 0.6658 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001526/0.7597, allocations: 0.578 MB / 0.6664 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.7601, allocations: 87.41 kB / 0.6665 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.7601, allocations: 4 kB / 0.6665 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.0298/0.7899, allocations: 16.46 MB / 0.6826 GB, free: 9.828 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/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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches