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.001588/0.001588, allocations: 110.3 kB / 17.78 MB, free: 5.184 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.00196/0.001961, allocations: 184.1 kB / 18.71 MB, free: 4.258 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.564/1.564, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2467/0.2467, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3961, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2144/0.6106, allocations: 183 MB / 0.6977 GB, free: 4.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006741/0.6174, allocations: 3.627 MB / 0.7012 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006281/0.618, allocations: 11.94 kB / 0.7012 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008843/0.619, allocations: 325.8 kB / 0.7015 GB, free: 388 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.6234, allocations: 1.693 MB / 0.7032 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.6252, allocations: 0.7242 MB / 0.7039 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.6272, allocations: 1.528 MB / 0.7054 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006576/0.6279, allocations: 427.5 kB / 0.7058 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009016/0.6288, allocations: 0.5838 MB / 0.7064 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.6294, allocations: 454.2 kB / 0.7068 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.128e-05/0.6295, allocations: 48 kB / 0.7068 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/0.633, allocations: 1.899 MB / 0.7087 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.6332, allocations: 159.4 kB / 0.7088 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.6336, allocations: 342.5 kB / 0.7092 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003029/0.6366, allocations: 1.804 MB / 0.7109 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6366, allocations: 0 / 0.7109 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6366, allocations: 0 / 0.7109 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.6366, allocations: 0 / 0.7109 GB, free: 6.727 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.001948/0.6386, allocations: 1.083 MB / 0.712 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6386, allocations: 8.031 kB / 0.712 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.6397, allocations: 135.2 kB / 0.7121 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/0.6404, allocations: 480.5 kB / 0.7126 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.875e-05/0.6405, allocations: 32.94 kB / 0.7126 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.6406, allocations: 43.94 kB / 0.7127 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.6416, allocations: 0.5867 MB / 0.7132 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.6416, allocations: 0 / 0.7132 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.6417, allocations: 20 kB / 0.7132 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.6417, allocations: 19.92 kB / 0.7133 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.6427, allocations: 475.6 kB / 0.7137 GB, free: 3.738 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.003315/0.6461, allocations: 2.635 MB / 0.7163 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/0.6468, allocations: 343.5 kB / 0.7166 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.6471, allocations: 173.3 kB / 0.7168 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2649/0.9121, allocations: 425.6 kB / 0.7172 GB, free: 191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.9122, allocations: 38.3 kB / 0.7172 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.9122, allocations: 0 / 0.7172 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002109/0.9143, allocations: 0.7196 MB / 0.7179 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.9144, allocations: 132.2 kB / 0.7181 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/0.915, allocations: 476.2 kB / 0.7185 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.915, allocations: 32.75 kB / 0.7185 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.9152, allocations: 273.2 kB / 0.7188 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.921e-05/0.9153, allocations: 114.5 kB / 0.7189 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.9155, allocations: 104.1 kB / 0.719 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.9156, allocations: 358 kB / 0.7194 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.9159, allocations: 144.1 kB / 0.7195 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.9162, allocations: 280.3 kB / 0.7198 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/0.9169, allocations: 442.7 kB / 0.7202 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9169, allocations: 1.406 kB / 0.7202 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009692/0.9179, allocations: 0.5439 MB / 0.7207 GB, free: 189 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9179, allocations: 7.234 kB / 0.7207 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.9179, allocations: 3.812 kB / 0.7207 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.9195, allocations: 238.5 kB / 0.7209 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.9199, allocations: 102 kB / 0.721 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003318/0.9203, allocations: 0.5937 MB / 0.7216 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.9206, allocations: 50.78 kB / 0.7217 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.9207, allocations: 44.86 kB / 0.7217 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.0002367/0.9209, allocations: 183.4 kB / 0.7219 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.9211, allocations: 56.39 kB / 0.7219 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.9229, allocations: 1.075 MB / 0.723 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.9229, allocations: 7.062 kB / 0.723 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9229, allocations: 3.938 kB / 0.723 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.9229, allocations: 1.922 kB / 0.723 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.9242, allocations: 1.009 MB / 0.724 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.9243, allocations: 5.516 kB / 0.724 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.9245, allocations: 54.75 kB / 0.7241 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003191/0.9277, allocations: 436.4 kB / 0.7245 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.9277, allocations: 10.48 kB / 0.7245 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003042/0.928, allocations: 0.5952 MB / 0.7251 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.928, allocations: 10.47 kB / 0.7251 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007031/0.9288, allocations: 0.4989 MB / 0.7256 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.9289, allocations: 133.4 kB / 0.7257 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.685e-05/0.929, allocations: 17.38 kB / 0.7257 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.9293, allocations: 24.02 kB / 0.7257 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.9294, allocations: 30.14 kB / 0.7258 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.9294, allocations: 19.7 kB / 0.7258 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004132/0.9298, allocations: 398.2 kB / 0.7261 GB, free: 186 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9298, allocations: 0 / 0.7261 GB, free: 186 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009077/0.9307, allocations: 328.5 kB / 0.7265 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.0009215/0.9317, allocations: 445.8 kB / 0.7269 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008045/0.9325, allocations: 373.9 kB / 0.7272 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9325, allocations: 0 / 0.7272 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.9328, allocations: 165.9 kB / 0.7274 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.00165/0.9345, allocations: 369.5 kB / 0.7278 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.9357, allocations: 0.8731 MB / 0.7286 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.9359, allocations: 0.8592 MB / 0.7294 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008834/0.9368, allocations: 0.5488 MB / 0.73 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.9371, allocations: 91.09 kB / 0.7301 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.9371, allocations: 1.25 kB / 0.7301 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.02275/0.9598, allocations: 17.46 MB / 0.7471 GB, free: 171.5 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/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