Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.001796/0.001796, allocations: 81.72 kB / 20.68 MB, free: 1.035 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.00218/0.00218, allocations: 163 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 34.28 MB / 294.9 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.687e-05, allocations: 6.281 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4427/0.4427, allocations: 161.6 MB / 0.5901 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006943/0.4497, allocations: 3.397 MB / 0.5935 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000756/0.4504, allocations: 27.69 kB / 0.5935 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.4517, allocations: 305.8 kB / 0.5938 GB, free: 472 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005397/0.4571, allocations: 1.788 MB / 0.5955 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.46, allocations: 0.7381 MB / 0.5962 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003076/0.4631, allocations: 1.551 MB / 0.5978 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009797/0.4641, allocations: 356.5 kB / 0.5981 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.4662, allocations: 0.8025 MB / 0.5989 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008689/0.467, allocations: 410.8 kB / 0.5993 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.4672, allocations: 52 kB / 0.5993 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.4702, allocations: 1.142 MB / 0.6004 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.4705, allocations: 163.3 kB / 0.6006 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005142/0.471, allocations: 247.5 kB / 0.6008 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.4744, allocations: 1.737 MB / 0.6025 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4744, allocations: 0 / 0.6025 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4744, allocations: 4 kB / 0.6025 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.271e-05/0.4745, allocations: 0 / 0.6025 GB, free: 7.477 MB / 0.4981 GB 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.002494/0.477, allocations: 1.029 MB / 0.6035 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.477, allocations: 12.78 kB / 0.6036 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.4781, allocations: 135.5 kB / 0.6037 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.479, allocations: 421.6 kB / 0.6041 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.479, allocations: 29 kB / 0.6041 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.778e-05/0.4791, allocations: 44 kB / 0.6042 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.4806, allocations: 0.8879 MB / 0.605 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.4806, allocations: 3.938 kB / 0.605 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.906e-05/0.4806, allocations: 26.34 kB / 0.6051 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.4807, allocations: 12 kB / 0.6051 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.4817, allocations: 471.6 kB / 0.6055 GB, free: 4.258 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.00298/0.4847, allocations: 1.877 MB / 0.6073 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.4855, allocations: 315.5 kB / 0.6076 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.4858, allocations: 153.3 kB / 0.6078 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.486, allocations: 48.25 kB / 0.6078 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4861, allocations: 38.84 kB / 0.6079 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.844e-06/0.4861, allocations: 4 kB / 0.6079 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001862/0.4879, allocations: 0.6289 MB / 0.6085 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.488, allocations: 132.5 kB / 0.6086 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.4885, allocations: 405.8 kB / 0.609 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.4885, allocations: 41.7 kB / 0.609 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.4888, allocations: 280.3 kB / 0.6093 GB, free: 228 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.4889, allocations: 123 kB / 0.6094 GB, free: 104 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.4891, allocations: 102.2 kB / 0.6095 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4892, allocations: 350.8 kB / 0.6099 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.4896, allocations: 148.9 kB / 0.61 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.4901, allocations: 357.3 kB / 0.6103 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.4909, allocations: 440.8 kB / 0.6108 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4909, allocations: 0 / 0.6108 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001131/0.4921, allocations: 0.5293 MB / 0.6113 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4921, allocations: 8.031 kB / 0.6113 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4921, allocations: 4 kB / 0.6113 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/0.4938, allocations: 240.5 kB / 0.6115 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.4942, allocations: 111.8 kB / 0.6116 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005484/0.4948, allocations: 0.5952 MB / 0.6122 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.4951, allocations: 39.72 kB / 0.6123 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/0.4952, allocations: 48 kB / 0.6123 GB, free: 12.99 MB / 0.5137 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.0002879/0.4955, allocations: 182.4 kB / 0.6125 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.4956, allocations: 56.89 kB / 0.6125 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.4977, allocations: 1.078 MB / 0.6136 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4977, allocations: 4 kB / 0.6136 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4977, allocations: 0 / 0.6136 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4977, allocations: 3.984 kB / 0.6136 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.4992, allocations: 0.8697 MB / 0.6144 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4992, allocations: 0 / 0.6144 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.4995, allocations: 47.97 kB / 0.6145 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003397/0.5029, allocations: 435.7 kB / 0.6149 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.5029, allocations: 8 kB / 0.6149 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005204/0.5034, allocations: 0.6108 MB / 0.6155 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5034, allocations: 4.031 kB / 0.6155 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009033/0.5043, allocations: 0.4924 MB / 0.616 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.5044, allocations: 39.66 kB / 0.616 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-05/0.5045, allocations: 19.92 kB / 0.616 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.5048, allocations: 12 kB / 0.6161 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.5049, allocations: 27.94 kB / 0.6161 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.505, allocations: 19.98 kB / 0.6161 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004197/0.5054, allocations: 323.2 kB / 0.6164 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5054, allocations: 0 / 0.6164 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001103/0.5065, allocations: 358.8 kB / 0.6167 GB, free: 8.293 MB / 0.5137 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.001178/0.5077, allocations: 464.5 kB / 0.6172 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009131/0.5086, allocations: 359.8 kB / 0.6175 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5086, allocations: 0.875 kB / 0.6175 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.509, allocations: 159.9 kB / 0.6177 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.5105, allocations: 283.8 kB / 0.618 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.5121, allocations: 0.8481 MB / 0.6188 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.5124, allocations: 254.9 kB / 0.619 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001022/0.5134, allocations: 0.5477 MB / 0.6196 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.5136, allocations: 80.47 kB / 0.6196 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.5136, allocations: 0 / 0.6196 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of Templates: time 0.02859/0.5422, allocations: 16.14 MB / 0.6354 GB, free: 5.352 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.200291201472282]