Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 108.7 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001146, allocations: 183.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2099/0.2099, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4157, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.217/0.6328, allocations: 183 MB / 0.6983 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006713/0.6396, allocations: 3.619 MB / 0.7018 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008675/0.6405, allocations: 15.88 kB / 0.7019 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.6418, allocations: 321.9 kB / 0.7022 GB, free: 444 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005464/0.6473, allocations: 1.709 MB / 0.7038 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.6495, allocations: 0.7124 MB / 0.7045 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002477/0.652, allocations: 1.524 MB / 0.706 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009531/0.653, allocations: 435.5 kB / 0.7064 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.6543, allocations: 0.5761 MB / 0.707 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.6554, allocations: 462.1 kB / 0.7074 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003315/0.6558, allocations: 55.94 kB / 0.7075 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005163/0.6609, allocations: 1.891 MB / 0.7093 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000439/0.6614, allocations: 159.4 kB / 0.7095 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009271/0.6623, allocations: 342.5 kB / 0.7098 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004294/0.6667, allocations: 1.8 MB / 0.7116 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6667, allocations: 3.984 kB / 0.7116 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6667, allocations: 0 / 0.7116 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.665e-05/0.6667, allocations: 0 / 0.7116 GB, free: 6.773 MB / 0.5606 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.002734/0.6695, allocations: 1.082 MB / 0.7126 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6695, allocations: 8.031 kB / 0.7126 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.6708, allocations: 139.2 kB / 0.7128 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.6721, allocations: 480.4 kB / 0.7132 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.6722, allocations: 32.94 kB / 0.7133 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.6723, allocations: 40 kB / 0.7133 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.6736, allocations: 0.5906 MB / 0.7139 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.6736, allocations: 0 / 0.7139 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.6737, allocations: 24 kB / 0.7139 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.6737, allocations: 15.94 kB / 0.7139 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.6748, allocations: 475.5 kB / 0.7144 GB, free: 3.785 MB / 0.5606 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.003488/0.6782, allocations: 2.639 MB / 0.717 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.679, allocations: 343.5 kB / 0.7173 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.6794, allocations: 173.3 kB / 0.7174 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3326/1.012, allocations: 426.5 kB / 0.7179 GB, free: 191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/1.012, allocations: 38.56 kB / 0.7179 GB, free: 191 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.444e-06/1.012, allocations: 0 / 0.7179 GB, free: 191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002383/1.014, allocations: 0.7115 MB / 0.7186 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/1.015, allocations: 132.9 kB / 0.7187 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/1.015, allocations: 472.4 kB / 0.7192 GB, free: 190.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/1.015, allocations: 39.17 kB / 0.7192 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/1.016, allocations: 274.1 kB / 0.7195 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/1.016, allocations: 113.8 kB / 0.7196 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/1.016, allocations: 104.2 kB / 0.7197 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.016, allocations: 357.6 kB / 0.72 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/1.016, allocations: 148.9 kB / 0.7202 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/1.017, allocations: 279.1 kB / 0.7204 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/1.017, allocations: 443.3 kB / 0.7208 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.018, allocations: 1.125 kB / 0.7208 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001099/1.019, allocations: 0.5391 MB / 0.7214 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.019, allocations: 9.125 kB / 0.7214 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.019, allocations: 4.281 kB / 0.7214 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/1.02, allocations: 234.6 kB / 0.7216 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/1.021, allocations: 114 kB / 0.7217 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003785/1.021, allocations: 0.5868 MB / 0.7223 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/1.022, allocations: 49.78 kB / 0.7223 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.055e-05/1.022, allocations: 44.64 kB / 0.7224 GB, free: 188.4 MB / 0.5606 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.0002881/1.022, allocations: 188.2 kB / 0.7226 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.022, allocations: 55.06 kB / 0.7226 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/1.024, allocations: 1.077 MB / 0.7237 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/1.024, allocations: 6.906 kB / 0.7237 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.024, allocations: 2 kB / 0.7237 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.024, allocations: 2.109 kB / 0.7237 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/1.026, allocations: 1.006 MB / 0.7247 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.026, allocations: 7.672 kB / 0.7247 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/1.026, allocations: 51.27 kB / 0.7247 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/1.029, allocations: 433.2 kB / 0.7251 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/1.029, allocations: 14.5 kB / 0.7251 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003536/1.03, allocations: 0.601 MB / 0.7257 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.03, allocations: 6.75 kB / 0.7257 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007889/1.03, allocations: 0.503 MB / 0.7262 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/1.031, allocations: 133.2 kB / 0.7263 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-05/1.031, allocations: 16.41 kB / 0.7264 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/1.031, allocations: 20.83 kB / 0.7264 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/1.031, allocations: 27.7 kB / 0.7264 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/1.031, allocations: 18.36 kB / 0.7264 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004926/1.032, allocations: 396 kB / 0.7268 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 0 / 0.7268 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001071/1.033, allocations: 332.7 kB / 0.7271 GB, free: 186 MB / 0.5606 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.001081/1.034, allocations: 442.6 kB / 0.7275 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009423/1.035, allocations: 373.2 kB / 0.7279 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/1.035, allocations: 1.844 kB / 0.7279 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/1.035, allocations: 169.7 kB / 0.7281 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/1.037, allocations: 357.9 kB / 0.7284 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/1.038, allocations: 0.9075 MB / 0.7293 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/1.039, allocations: 0.8501 MB / 0.7301 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/1.039, allocations: 126.5 kB / 0.7302 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of SimCode: time 4.3e-07/1.039, allocations: 0 / 0.7302 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.02239/1.061, allocations: 15.21 MB / 0.7451 GB, free: 174.1 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches