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.000763/0.0007631, allocations: 94.72 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008929/0.000893, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.7 MB / 247.5 MB, free: 9.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1928/0.1928, allocations: 46.19 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002453/0.0002454, allocations: 11.98 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1097, allocations: 63.57 MB / 483.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3855/0.4953, allocations: 179.6 MB / 0.6478 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007142/0.5025, allocations: 4.668 MB / 0.6523 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007671/0.5033, allocations: 15.88 kB / 0.6524 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.5044, allocations: 298.4 kB / 0.6526 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005552/0.5099, allocations: 1.565 MB / 0.6542 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.5125, allocations: 0.8592 MB / 0.655 GB, free: 9.672 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002686/0.5152, allocations: 2.198 MB / 0.6572 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007323/0.5159, allocations: 385.9 kB / 0.6575 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.5176, allocations: 0.7667 MB / 0.6583 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008674/0.5185, allocations: 0.5097 MB / 0.6588 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.5187, allocations: 28 kB / 0.6588 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.5213, allocations: 1.209 MB / 0.66 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.5216, allocations: 155.4 kB / 0.6601 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.5221, allocations: 376.1 kB / 0.6605 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.524, allocations: 1.15 MB / 0.6616 GB, free: 2.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.524, allocations: 4 kB / 0.6616 GB, free: 2.887 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.524, allocations: 0 / 0.6616 GB, free: 2.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.008e-05/0.524, allocations: 0 / 0.6616 GB, free: 2.887 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.002074/0.5261, allocations: 0.9466 MB / 0.6625 GB, free: 1.887 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.5262, allocations: 12.03 kB / 0.6625 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.5275, allocations: 163.1 kB / 0.6627 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007819/0.5283, allocations: 0.4885 MB / 0.6632 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.5284, allocations: 33 kB / 0.6632 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.463e-05/0.5284, allocations: 47.94 kB / 0.6633 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.5297, allocations: 0.6478 MB / 0.6639 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.5297, allocations: 3.938 kB / 0.6639 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.5298, allocations: 27.94 kB / 0.6639 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.5298, allocations: 12 kB / 0.6639 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.5308, allocations: 0.4957 MB / 0.6644 GB, free: 15.88 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.003252/0.5341, allocations: 2.641 MB / 0.667 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.5348, allocations: 334.7 kB / 0.6673 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.5351, allocations: 165.5 kB / 0.6675 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/0.5355, allocations: 437.5 kB / 0.6679 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.5356, allocations: 46.5 kB / 0.6679 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.495e-06/0.5356, allocations: 0 / 0.6679 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001723/0.5373, allocations: 0.7094 MB / 0.6686 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.5374, allocations: 166 kB / 0.6688 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.5381, allocations: 0.5223 MB / 0.6693 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.5382, allocations: 37.7 kB / 0.6693 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.5385, allocations: 299.7 kB / 0.6696 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.5386, allocations: 126.1 kB / 0.6697 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-05/0.5387, allocations: 37.7 kB / 0.6698 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5388, allocations: 366.8 kB / 0.6701 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.5391, allocations: 149 kB / 0.6703 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.5395, allocations: 326.9 kB / 0.6706 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007178/0.5403, allocations: 478.9 kB / 0.671 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.5403, allocations: 3.938 kB / 0.671 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001056/0.5413, allocations: 0.5751 MB / 0.6716 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5414, allocations: 11.94 kB / 0.6716 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.5414, allocations: 7.984 kB / 0.6716 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.5431, allocations: 293.1 kB / 0.6719 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.5435, allocations: 119.8 kB / 0.672 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004424/0.5439, allocations: 0.5875 MB / 0.6726 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.5444, allocations: 63.36 kB / 0.6726 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/0.5445, allocations: 55.98 kB / 0.6727 GB, free: 6.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.0002808/0.5448, allocations: 193.6 kB / 0.6729 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.5449, allocations: 63.25 kB / 0.6729 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.547, allocations: 1.103 MB / 0.674 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.547, allocations: 4 kB / 0.674 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.547, allocations: 0 / 0.674 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5471, allocations: 3.984 kB / 0.674 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.5485, allocations: 1.01 MB / 0.675 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.5485, allocations: 4.188 kB / 0.675 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.5487, allocations: 59.91 kB / 0.6751 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003476/0.5522, allocations: 0.5352 MB / 0.6756 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.5523, allocations: 11.98 kB / 0.6756 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004169/0.5527, allocations: 0.5953 MB / 0.6762 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5527, allocations: 8.094 kB / 0.6762 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.5535, allocations: 0.5005 MB / 0.6767 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.5537, allocations: 168.2 kB / 0.6768 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.5539, allocations: 8 kB / 0.6769 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.5543, allocations: 31.92 kB / 0.6769 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.5544, allocations: 35.84 kB / 0.6769 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.5544, allocations: 15.98 kB / 0.6769 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005634/0.555, allocations: 451 kB / 0.6774 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.555, allocations: 0 / 0.6774 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009199/0.5559, allocations: 291.8 kB / 0.6776 GB, free: 1.539 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.00098/0.5569, allocations: 398.2 kB / 0.678 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008485/0.5577, allocations: 377.8 kB / 0.6784 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5578, allocations: 0 / 0.6784 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.5581, allocations: 153.8 kB / 0.6785 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.5603, allocations: 386.7 kB / 0.6789 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.562, allocations: 1.193 MB / 0.6801 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.5624, allocations: 0.8793 MB / 0.6809 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/0.5629, allocations: 131.4 kB / 0.681 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.5629, allocations: 4 kB / 0.681 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of Templates: time 0.02198/0.5849, allocations: 15.48 MB / 0.6962 GB, free: 14.54 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/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