Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 198.2 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008835/0.0008835, allocations: 96.67 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1783/0.1783, allocations: 44.83 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002281/0.0002282, allocations: 15.97 kB / 464.8 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08226/0.0825, allocations: 62.95 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3153/0.3978, allocations: 166.9 MB / 0.6783 GB, free: 6.434 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004605/0.4025, allocations: 3.497 MB / 0.6817 GB, free: 2.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.4028, allocations: 27.81 kB / 0.6818 GB, free: 2.902 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.4034, allocations: 250.4 kB / 0.682 GB, free: 2.656 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00294/0.4063, allocations: 1.483 MB / 0.6835 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.4075, allocations: 0.5576 MB / 0.684 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.4089, allocations: 1.731 MB / 0.6857 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.4093, allocations: 337.9 kB / 0.686 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/0.4099, allocations: 0.5097 MB / 0.6865 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/0.4103, allocations: 450.2 kB / 0.6869 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.633e-05/0.4104, allocations: 28 kB / 0.687 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.4126, allocations: 1.698 MB / 0.6886 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.4127, allocations: 143.4 kB / 0.6888 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.4128, allocations: 145.4 kB / 0.6889 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.414, allocations: 1.175 MB / 0.6901 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.414, allocations: 0 / 0.6901 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.402e-06/0.414, allocations: 4 kB / 0.6901 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.4141, allocations: 0 / 0.6901 GB, free: 10.41 MB / 0.4948 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.001419/0.4155, allocations: 0.9467 MB / 0.691 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.4155, allocations: 8.031 kB / 0.691 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008889/0.4164, allocations: 139.2 kB / 0.6911 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.417, allocations: 456.8 kB / 0.6916 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.417, allocations: 33 kB / 0.6916 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.4171, allocations: 36 kB / 0.6916 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009552/0.418, allocations: 0.5945 MB / 0.6922 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4181, allocations: 0 / 0.6922 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.4181, allocations: 20 kB / 0.6922 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.4181, allocations: 14.5 kB / 0.6922 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008459/0.419, allocations: 479.6 kB / 0.6927 GB, free: 7.578 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.002497/0.4215, allocations: 2.667 MB / 0.6953 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.4222, allocations: 349.2 kB / 0.6956 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.4225, allocations: 173.3 kB / 0.6958 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/0.4228, allocations: 437.8 kB / 0.6962 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.4228, allocations: 38.84 kB / 0.6962 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.4228, allocations: 0 / 0.6962 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001517/0.4244, allocations: 0.7381 MB / 0.697 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.4244, allocations: 132.5 kB / 0.6971 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.4249, allocations: 470 kB / 0.6975 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.425, allocations: 29.7 kB / 0.6976 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.4252, allocations: 283.8 kB / 0.6978 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.4252, allocations: 110.4 kB / 0.6979 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.4253, allocations: 8 kB / 0.698 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4254, allocations: 358.8 kB / 0.6983 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.4257, allocations: 152.8 kB / 0.6984 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.4261, allocations: 283.7 kB / 0.6987 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.4264, allocations: 185 kB / 0.6989 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4264, allocations: 4 kB / 0.6989 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008877/0.4273, allocations: 0.5443 MB / 0.6994 GB, free: 200 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4274, allocations: 4 kB / 0.6994 GB, free: 196 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4274, allocations: 4 kB / 0.6994 GB, free: 192 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.4289, allocations: 292.9 kB / 0.6997 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.4292, allocations: 107.8 kB / 0.6998 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003909/0.4296, allocations: 0.5836 MB / 0.7004 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.43, allocations: 75.47 kB / 0.7005 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/0.4301, allocations: 51.92 kB / 0.7005 GB, free: 15.06 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.4303, allocations: 177.7 kB / 0.7007 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/0.4304, allocations: 59.33 kB / 0.7007 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.4322, allocations: 1.104 MB / 0.7018 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4322, allocations: 4 kB / 0.7018 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4322, allocations: 0 / 0.7018 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4322, allocations: 3.984 kB / 0.7018 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.4335, allocations: 1.011 MB / 0.7028 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4335, allocations: 0 / 0.7028 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.4337, allocations: 59.91 kB / 0.7029 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003219/0.437, allocations: 0.5355 MB / 0.7034 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.437, allocations: 8 kB / 0.7034 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003589/0.4374, allocations: 0.603 MB / 0.704 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.4374, allocations: 8 kB / 0.704 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.4381, allocations: 0.511 MB / 0.7045 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.4382, allocations: 152.3 kB / 0.7046 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/0.4383, allocations: 8 kB / 0.7046 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.4386, allocations: 47.86 kB / 0.7047 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.4387, allocations: 27.91 kB / 0.7047 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.4387, allocations: 8 kB / 0.7047 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003871/0.4391, allocations: 374.8 kB / 0.7051 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4391, allocations: 0 / 0.7051 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007468/0.4399, allocations: 335.7 kB / 0.7054 GB, free: 9.863 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008667/0.4408, allocations: 449.2 kB / 0.7058 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000716/0.4415, allocations: 380.4 kB / 0.7062 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.4415, allocations: 3.906 kB / 0.7062 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.4418, allocations: 175.8 kB / 0.7064 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.4432, allocations: 296.5 kB / 0.7066 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.4446, allocations: 1.09 MB / 0.7077 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.445, allocations: 0.8555 MB / 0.7085 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.4453, allocations: 119.4 kB / 0.7087 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.4453, allocations: 3.938 kB / 0.7087 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of Templates: time 0.1758/0.6212, allocations: 14.73 MB / 0.7231 GB, free: 177.1 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches