Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 104.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3346/0.3346, allocations: 43.5 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 51.92 kB / 429.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1158, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4118/0.5276, allocations: 188.4 MB / 0.6596 GB, free: 5.383 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008347/0.536, allocations: 5.895 MB / 0.6653 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009313/0.537, allocations: 19.81 kB / 0.6654 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.5382, allocations: 274.5 kB / 0.6656 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004279/0.5425, allocations: 1.432 MB / 0.667 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.5444, allocations: 0.6611 MB / 0.6677 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002286/0.5467, allocations: 2.053 MB / 0.6697 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006311/0.5473, allocations: 372.4 kB / 0.67 GB, free: 10.69 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.5484, allocations: 0.533 MB / 0.6705 GB, free: 10.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008014/0.5492, allocations: 474 kB / 0.671 GB, free: 9.691 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.5493, allocations: 32 kB / 0.671 GB, free: 9.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.5518, allocations: 1.275 MB / 0.6723 GB, free: 8.383 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.552, allocations: 143.4 kB / 0.6724 GB, free: 8.242 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004568/0.5525, allocations: 334.3 kB / 0.6727 GB, free: 7.914 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.5548, allocations: 1.593 MB / 0.6743 GB, free: 6.316 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5548, allocations: 0 / 0.6743 GB, free: 6.316 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.5548, allocations: 4 kB / 0.6743 GB, free: 6.312 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.5549, allocations: 0 / 0.6743 GB, free: 6.312 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002084/0.557, allocations: 1.095 MB / 0.6754 GB, free: 5.164 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.557, allocations: 11.97 kB / 0.6754 GB, free: 5.152 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.5581, allocations: 139.8 kB / 0.6755 GB, free: 5.016 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5591, allocations: 484.5 kB / 0.676 GB, free: 4.504 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.5592, allocations: 29 kB / 0.676 GB, free: 4.473 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/0.5593, allocations: 47.94 kB / 0.676 GB, free: 4.426 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.5605, allocations: 0.5906 MB / 0.6766 GB, free: 3.797 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.5606, allocations: 4 kB / 0.6766 GB, free: 3.793 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/0.5606, allocations: 20 kB / 0.6766 GB, free: 3.773 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.5607, allocations: 16 kB / 0.6767 GB, free: 3.758 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.5617, allocations: 482.7 kB / 0.6771 GB, free: 3.289 MB / 490.7 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.003484/0.5652, allocations: 2.694 MB / 0.6797 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006834/0.5659, allocations: 339.5 kB / 0.6801 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.5662, allocations: 173.3 kB / 0.6802 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.5676, allocations: 1.308 MB / 0.6815 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.5676, allocations: 38.84 kB / 0.6815 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.5676, allocations: 0 / 0.6815 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001679/0.5693, allocations: 0.7259 MB / 0.6823 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.5694, allocations: 132.5 kB / 0.6824 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.57, allocations: 498 kB / 0.6829 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.57, allocations: 37.7 kB / 0.6829 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.5702, allocations: 279.8 kB / 0.6832 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.5703, allocations: 118.3 kB / 0.6833 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.5705, allocations: 106 kB / 0.6834 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5706, allocations: 358.8 kB / 0.6837 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.571, allocations: 152.8 kB / 0.6839 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.5714, allocations: 279.7 kB / 0.6841 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006945/0.5721, allocations: 437.6 kB / 0.6845 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.5721, allocations: 4 kB / 0.6846 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001095/0.5732, allocations: 0.5364 MB / 0.6851 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.5732, allocations: 11.94 kB / 0.6851 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.5732, allocations: 4 kB / 0.6851 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.5748, allocations: 241 kB / 0.6853 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.5752, allocations: 99.83 kB / 0.6854 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00054/0.5757, allocations: 0.5992 MB / 0.686 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.5762, allocations: 55.52 kB / 0.6861 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.403e-05/0.5763, allocations: 51.92 kB / 0.6861 GB, free: 9.391 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0003655/0.5767, allocations: 185.8 kB / 0.6863 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.5769, allocations: 55.34 kB / 0.6863 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.5785, allocations: 0.7233 MB / 0.687 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.5786, allocations: 4 kB / 0.687 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5786, allocations: 3.984 kB / 0.687 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5786, allocations: 3.984 kB / 0.6871 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.5802, allocations: 1.034 MB / 0.6881 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5802, allocations: 0 / 0.6881 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.5804, allocations: 55.91 kB / 0.6881 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002968/0.5834, allocations: 448.3 kB / 0.6885 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.5834, allocations: 11.98 kB / 0.6886 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004053/0.5838, allocations: 0.6075 MB / 0.6891 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5838, allocations: 4.031 kB / 0.6891 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.5853, allocations: 1.329 MB / 0.6904 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.5854, allocations: 132.4 kB / 0.6906 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.915e-05/0.5856, allocations: 13.19 kB / 0.6906 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.5859, allocations: 31.91 kB / 0.6906 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.586, allocations: 31.91 kB / 0.6906 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.586, allocations: 16 kB / 0.6907 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004805/0.5865, allocations: 422.8 kB / 0.6911 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5865, allocations: 4 kB / 0.6911 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001019/0.5876, allocations: 323.8 kB / 0.6914 GB, free: 3.762 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.001447/0.589, allocations: 459.1 kB / 0.6918 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.5901, allocations: 374.5 kB / 0.6922 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.5901, allocations: 4 kB / 0.6922 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.5905, allocations: 165 kB / 0.6923 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.5925, allocations: 348.9 kB / 0.6927 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.5944, allocations: 1.299 MB / 0.6939 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.5948, allocations: 0.8674 MB / 0.6948 GB, free: 196 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.2102/0.805, allocations: 197.1 kB / 0.695 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.8055, allocations: 73.64 kB / 0.695 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.8055, allocations: 0.8125 kB / 0.695 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.03115/0.8366, allocations: 16.54 MB / 0.7112 GB, free: 168 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches