Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 86.56 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002127/0.002127, allocations: 159 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] 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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.228e-06/4.228e-06, allocations: 3.984 kB / 442.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.88e-05, allocations: 4.953 kB / 442.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4246/0.4246, allocations: 161.6 MB / 0.5901 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00689/0.4315, allocations: 3.401 MB / 0.5934 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006339/0.4321, allocations: 19.81 kB / 0.5935 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009767/0.4331, allocations: 317.7 kB / 0.5938 GB, free: 284 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004624/0.4377, allocations: 1.777 MB / 0.5955 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.4398, allocations: 0.7411 MB / 0.5962 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.4418, allocations: 1.559 MB / 0.5978 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005898/0.4424, allocations: 341.6 kB / 0.5981 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.4436, allocations: 0.8141 MB / 0.5989 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006161/0.4442, allocations: 410.8 kB / 0.5993 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.4443, allocations: 52 kB / 0.5993 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.4468, allocations: 1.135 MB / 0.6004 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.447, allocations: 163.4 kB / 0.6006 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.4474, allocations: 247.5 kB / 0.6008 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.45, allocations: 1.741 MB / 0.6025 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.45, allocations: 1.125 kB / 0.6025 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.45, allocations: 4 kB / 0.6025 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.45, allocations: 0 / 0.6025 GB, free: 7.301 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.002163/0.4522, allocations: 1.025 MB / 0.6035 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.4522, allocations: 8.625 kB / 0.6035 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.4533, allocations: 135.5 kB / 0.6037 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/0.4543, allocations: 425.5 kB / 0.6041 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.4543, allocations: 37 kB / 0.6041 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/0.4544, allocations: 40 kB / 0.6041 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.4558, allocations: 0.8957 MB / 0.605 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4559, allocations: 7.938 kB / 0.605 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.4559, allocations: 21.91 kB / 0.605 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.4559, allocations: 12 kB / 0.6051 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.457, allocations: 471.6 kB / 0.6055 GB, free: 4.078 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.002988/0.46, allocations: 1.865 MB / 0.6073 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.4608, allocations: 325.1 kB / 0.6076 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.4612, allocations: 153.3 kB / 0.6078 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.4614, allocations: 44.25 kB / 0.6078 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.4615, allocations: 38.84 kB / 0.6079 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.4615, allocations: 0 / 0.6079 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001943/0.4634, allocations: 0.6282 MB / 0.6085 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.4635, allocations: 140.5 kB / 0.6086 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.464, allocations: 409.8 kB / 0.609 GB, free: 372 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.4641, allocations: 29.7 kB / 0.609 GB, free: 336 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.4643, allocations: 288.3 kB / 0.6093 GB, free: 44 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.4644, allocations: 119 kB / 0.6094 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.4646, allocations: 102.2 kB / 0.6095 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4648, allocations: 346.8 kB / 0.6098 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.4652, allocations: 156.9 kB / 0.61 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.4657, allocations: 357.4 kB / 0.6103 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008526/0.4665, allocations: 437.5 kB / 0.6107 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4665, allocations: 1.688 kB / 0.6108 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001147/0.4677, allocations: 0.5367 MB / 0.6113 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.4677, allocations: 8 kB / 0.6113 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4677, allocations: 0 / 0.6113 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.4694, allocations: 245 kB / 0.6115 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.4698, allocations: 103.9 kB / 0.6116 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005301/0.4704, allocations: 0.5953 MB / 0.6122 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.4707, allocations: 43.77 kB / 0.6122 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/0.4708, allocations: 47.98 kB / 0.6123 GB, free: 12.81 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.0002837/0.4711, allocations: 185.6 kB / 0.6125 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.4712, allocations: 51.66 kB / 0.6125 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.4733, allocations: 1.075 MB / 0.6136 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4733, allocations: 4 kB / 0.6136 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4733, allocations: 0 / 0.6136 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.4733, allocations: 3.984 kB / 0.6136 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.4748, allocations: 0.8554 MB / 0.6144 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4749, allocations: 160 / 0.6144 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.4751, allocations: 59.91 kB / 0.6145 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003477/0.4786, allocations: 432.2 kB / 0.6149 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.4786, allocations: 10.31 kB / 0.6149 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000517/0.4791, allocations: 0.5992 MB / 0.6155 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.4791, allocations: 7.969 kB / 0.6155 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008828/0.48, allocations: 0.4926 MB / 0.616 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.4801, allocations: 51.72 kB / 0.616 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.4802, allocations: 15.92 kB / 0.616 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.4805, allocations: 12 kB / 0.616 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.4806, allocations: 31.89 kB / 0.6161 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.4807, allocations: 15.98 kB / 0.6161 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004193/0.4811, allocations: 315.1 kB / 0.6164 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4811, allocations: 0 / 0.6164 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001036/0.4821, allocations: 362.8 kB / 0.6167 GB, free: 8.129 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.00106/0.4832, allocations: 461.9 kB / 0.6172 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008947/0.4841, allocations: 359.9 kB / 0.6175 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4841, allocations: 0 / 0.6175 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.4844, allocations: 149 kB / 0.6176 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.486, allocations: 293.1 kB / 0.6179 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.4875, allocations: 0.852 MB / 0.6188 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.4878, allocations: 258.9 kB / 0.619 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001017/0.4888, allocations: 0.5518 MB / 0.6195 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.489, allocations: 80.47 kB / 0.6196 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.489, allocations: 3.938 kB / 0.6196 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of Templates: time 0.02915/0.5182, allocations: 16.13 MB / 0.6354 GB, free: 5.145 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.140723794698715]