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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 94.59 kB / 291.8 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3377/0.3377, allocations: 44.13 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 55.92 kB / 457.8 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4236, allocations: 60.8 MB / 0.5064 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5549/0.9785, allocations: 181 MB / 0.6832 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007736/0.9863, allocations: 3.755 MB / 0.6868 GB, free: 1.699 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.9874, allocations: 19.81 kB / 0.6869 GB, free: 1.699 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.9886, allocations: 271 kB / 0.6871 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004739/0.9933, allocations: 1.525 MB / 0.6886 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.9952, allocations: 0.6539 MB / 0.6892 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002258/0.9975, allocations: 2.029 MB / 0.6912 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004928/0.998, allocations: 366.2 kB / 0.6916 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008301/0.9988, allocations: 0.5248 MB / 0.6921 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000518/0.9993, allocations: 468.6 kB / 0.6925 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.9994, allocations: 30.62 kB / 0.6926 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/1.003, allocations: 1.808 MB / 0.6943 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/1.003, allocations: 144.3 kB / 0.6945 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004135/1.003, allocations: 328.1 kB / 0.6948 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/1.006, allocations: 1.775 MB / 0.6965 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.006, allocations: 0 / 0.6965 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/1.006, allocations: 0 / 0.6965 GB, free: 1.453 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.176e-06/1.006, allocations: 0 / 0.6965 GB, free: 1.453 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.001821/1.008, allocations: 1.079 MB / 0.6976 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/1.008, allocations: 11.28 kB / 0.6976 GB, free: 16.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008886/1.008, allocations: 135.7 kB / 0.6977 GB, free: 16.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000599/1.009, allocations: 474.2 kB / 0.6982 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/1.009, allocations: 28.03 kB / 0.6982 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/1.009, allocations: 44.41 kB / 0.6982 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009316/1.01, allocations: 0.5889 MB / 0.6988 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/1.01, allocations: 2.281 kB / 0.6988 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/1.01, allocations: 17.97 kB / 0.6988 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/1.01, allocations: 10.78 kB / 0.6988 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/1.011, allocations: 477 kB / 0.6993 GB, free: 16.39 MB / 0.4948 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.002876/1.014, allocations: 2.646 MB / 0.7019 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/1.015, allocations: 344.3 kB / 0.7022 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/1.015, allocations: 171.1 kB / 0.7024 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004885/1.015, allocations: 433.2 kB / 0.7028 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/1.015, allocations: 43.16 kB / 0.7028 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 3.907e-06/1.015, allocations: 0 / 0.7028 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001773/1.017, allocations: 0.7092 MB / 0.7035 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.017, allocations: 139.5 kB / 0.7036 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/1.018, allocations: 468.3 kB / 0.7041 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/1.018, allocations: 34.58 kB / 0.7041 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/1.018, allocations: 274.8 kB / 0.7044 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.159e-05/1.018, allocations: 116 kB / 0.7045 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/1.019, allocations: 106.1 kB / 0.7046 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.019, allocations: 363.5 kB / 0.7049 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/1.019, allocations: 150.3 kB / 0.7051 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/1.02, allocations: 276.5 kB / 0.7054 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/1.02, allocations: 436.9 kB / 0.7058 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.02, allocations: 1.25 kB / 0.7058 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001127/1.021, allocations: 0.5398 MB / 0.7063 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.021, allocations: 9.594 kB / 0.7063 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.022, allocations: 2.969 kB / 0.7063 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/1.023, allocations: 234.5 kB / 0.7065 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/1.024, allocations: 106.4 kB / 0.7066 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005241/1.024, allocations: 0.5889 MB / 0.7072 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/1.025, allocations: 66.86 kB / 0.7073 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.025, allocations: 47.81 kB / 0.7073 GB, free: 12.09 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.0002967/1.025, allocations: 176.3 kB / 0.7075 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/1.025, allocations: 55.55 kB / 0.7075 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/1.027, allocations: 1.095 MB / 0.7086 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/1.027, allocations: 3.672 kB / 0.7086 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.027, allocations: 0.6875 kB / 0.7086 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.028, allocations: 6.688 kB / 0.7086 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/1.029, allocations: 1.007 MB / 0.7096 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.029, allocations: 1.812 kB / 0.7096 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/1.03, allocations: 53.17 kB / 0.7097 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/1.033, allocations: 436 kB / 0.7101 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/1.033, allocations: 9.688 kB / 0.7101 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005622/1.034, allocations: 0.6125 MB / 0.7107 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.034, allocations: 3 kB / 0.7107 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/1.036, allocations: 1.301 MB / 0.712 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/1.036, allocations: 135.9 kB / 0.7121 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/1.036, allocations: 9.078 kB / 0.7121 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/1.037, allocations: 35.75 kB / 0.7121 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.037, allocations: 25.88 kB / 0.7121 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.639e-05/1.037, allocations: 17.53 kB / 0.7122 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007611/1.038, allocations: 400.3 kB / 0.7125 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.038, allocations: 1.094 kB / 0.7125 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001655/1.039, allocations: 336.5 kB / 0.7129 GB, free: 9.734 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.001348/1.041, allocations: 432.9 kB / 0.7133 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001168/1.042, allocations: 372.3 kB / 0.7136 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.042, allocations: 4.812 kB / 0.7136 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/1.042, allocations: 163.1 kB / 0.7138 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/1.044, allocations: 347.4 kB / 0.7141 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/1.046, allocations: 1.27 MB / 0.7154 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/1.047, allocations: 0.8623 MB / 0.7162 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002067/1.049, allocations: 0.554 MB / 0.7168 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/1.05, allocations: 91.67 kB / 0.7168 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of SimCode: time 1.272e-06/1.05, allocations: 4 kB / 0.7168 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.03078/1.08, allocations: 17.13 MB / 0.7336 GB, free: 1.906 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches