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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 74.66 kB / 19.93 MB, free: 1.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002339/0.002339, allocations: 165.9 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2146/0.2146, allocations: 32.37 MB / 269.6 MB, free: 4.68 MB / 254.1 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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=5004,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.711e-05/4.926e-05, allocations: 6.219 kB / 407.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4677/0.4678, allocations: 164.9 MB / 0.5588 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.478, allocations: 5.254 MB / 0.564 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009124/0.4789, allocations: 27.81 kB / 0.564 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.4802, allocations: 321.6 kB / 0.5643 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.4861, allocations: 1.692 MB / 0.5659 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.4885, allocations: 0.7564 MB / 0.5667 GB, free: 3.926 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002779/0.4913, allocations: 1.567 MB / 0.5682 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009975/0.4923, allocations: 364.3 kB / 0.5686 GB, free: 1.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.4945, allocations: 0.8122 MB / 0.5694 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009769/0.4954, allocations: 418.7 kB / 0.5698 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.4956, allocations: 52 kB / 0.5698 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.4989, allocations: 1.092 MB / 0.5709 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.4992, allocations: 183.2 kB / 0.571 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005793/0.4998, allocations: 251.4 kB / 0.5713 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.5037, allocations: 1.695 MB / 0.5729 GB, free: 13.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5037, allocations: 0 / 0.5729 GB, free: 13.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5037, allocations: 0 / 0.5729 GB, free: 13.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.786e-05/0.5037, allocations: 0 / 0.5729 GB, free: 13.5 MB / 462.1 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.002658/0.5064, allocations: 1.025 MB / 0.5739 GB, free: 12.44 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5064, allocations: 8.031 kB / 0.574 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.5075, allocations: 147.5 kB / 0.5741 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.5086, allocations: 437.6 kB / 0.5745 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.5087, allocations: 37 kB / 0.5745 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/0.5087, allocations: 36 kB / 0.5746 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.5103, allocations: 0.9035 MB / 0.5755 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.5103, allocations: 3.984 kB / 0.5755 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/0.5104, allocations: 19.94 kB / 0.5755 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.5104, allocations: 15.94 kB / 0.5755 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.5115, allocations: 476.2 kB / 0.576 GB, free: 10.25 MB / 462.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.003365/0.5149, allocations: 1.919 MB / 0.5778 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/0.5157, allocations: 319.5 kB / 0.5781 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.5161, allocations: 157.4 kB / 0.5783 GB, free: 7.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.5172, allocations: 418.8 kB / 0.5787 GB, free: 7.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.5172, allocations: 38.84 kB / 0.5787 GB, free: 7.328 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/0.5172, allocations: 0 / 0.5787 GB, free: 7.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002016/0.5192, allocations: 0.6478 MB / 0.5794 GB, free: 6.672 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.5194, allocations: 140.5 kB / 0.5795 GB, free: 6.504 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.52, allocations: 425.9 kB / 0.5799 GB, free: 6.078 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.5201, allocations: 29.7 kB / 0.5799 GB, free: 6.043 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.5203, allocations: 292.3 kB / 0.5802 GB, free: 5.754 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.5205, allocations: 127 kB / 0.5803 GB, free: 5.629 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.5207, allocations: 102.1 kB / 0.5804 GB, free: 5.523 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.5209, allocations: 358.8 kB / 0.5808 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.5213, allocations: 146.6 kB / 0.5809 GB, free: 5.023 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.5218, allocations: 361.4 kB / 0.5812 GB, free: 4.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.5226, allocations: 436.7 kB / 0.5817 GB, free: 4.125 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.5226, allocations: 8 kB / 0.5817 GB, free: 4.117 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001106/0.5237, allocations: 0.5212 MB / 0.5822 GB, free: 3.586 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5238, allocations: 8.438 kB / 0.5822 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5238, allocations: 8 kB / 0.5822 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.5254, allocations: 244.5 kB / 0.5824 GB, free: 3.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.5259, allocations: 107.8 kB / 0.5825 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006826/0.5265, allocations: 0.5914 MB / 0.5831 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.5269, allocations: 51.66 kB / 0.5832 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.539e-05/0.527, allocations: 43.98 kB / 0.5832 GB, free: 2.512 MB / 462.1 MB 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.0003814/0.5274, allocations: 181.7 kB / 0.5834 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.5276, allocations: 55.72 kB / 0.5834 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.5294, allocations: 0.7424 MB / 0.5841 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.5294, allocations: 4 kB / 0.5842 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.5294, allocations: 3.938 kB / 0.5842 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.5294, allocations: 0 / 0.5842 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.5313, allocations: 0.8789 MB / 0.585 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.5313, allocations: 0 / 0.585 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.5316, allocations: 55.91 kB / 0.5851 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003404/0.535, allocations: 440.4 kB / 0.5855 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.535, allocations: 12 kB / 0.5855 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006378/0.5356, allocations: 0.6109 MB / 0.5861 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5356, allocations: 3.938 kB / 0.5861 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.5367, allocations: 0.5057 MB / 0.5866 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.5368, allocations: 39.72 kB / 0.5866 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.5369, allocations: 23.83 kB / 0.5867 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.5373, allocations: 19.98 kB / 0.5867 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.5374, allocations: 31.89 kB / 0.5867 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.5374, allocations: 15.98 kB / 0.5867 GB, free: 14.76 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005388/0.538, allocations: 343.2 kB / 0.587 GB, free: 14.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.538, allocations: 0 / 0.587 GB, free: 14.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00118/0.5391, allocations: 335.1 kB / 0.5874 GB, free: 14.1 MB / 478.1 MB 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.001437/0.5406, allocations: 466.5 kB / 0.5878 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.5417, allocations: 368.3 kB / 0.5882 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.5417, allocations: 0 / 0.5882 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.5421, allocations: 159.8 kB / 0.5883 GB, free: 13.13 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.5438, allocations: 287.3 kB / 0.5886 GB, free: 12.85 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.5458, allocations: 0.8638 MB / 0.5894 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.5462, allocations: 259.1 kB / 0.5897 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007161/0.5469, allocations: 184.5 kB / 0.5899 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.5471, allocations: 84.47 kB / 0.5899 GB, free: 11.4 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5471, allocations: 0 / 0.5899 GB, free: 11.4 MB / 478.1 MB Notification: Performance of Templates: time 0.0296/0.5767, allocations: 15.35 MB / 0.6049 GB, free: 12.12 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.110337872058153]