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.0009876/0.0009875, allocations: 191.9 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 226.5 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000744/0.0007438, allocations: 95.05 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.335/0.335, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.000458, allocations: 8 kB / 465.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3735, allocations: 62.95 MB / 0.5159 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.1663/0.5398, allocations: 167 MB / 0.679 GB, free: 2.016 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3075/0.8474, allocations: 3.492 MB / 0.6824 GB, free: 5.164 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004791/0.8479, allocations: 18.53 kB / 0.6824 GB, free: 5.164 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007637/0.8487, allocations: 245.8 kB / 0.6826 GB, free: 5.164 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.004019/0.8527, allocations: 1.519 MB / 0.6841 GB, free: 5.113 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.8545, allocations: 0.5889 MB / 0.6847 GB, free: 5.098 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.8567, allocations: 1.74 MB / 0.6864 GB, free: 5.094 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.8573, allocations: 361.4 kB / 0.6867 GB, free: 5.059 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008063/0.8581, allocations: 0.5069 MB / 0.6872 GB, free: 5.059 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.8586, allocations: 446 kB / 0.6876 GB, free: 5.059 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.537e-05/0.8586, allocations: 31.38 kB / 0.6877 GB, free: 5.055 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.8616, allocations: 1.739 MB / 0.6894 GB, free: 5.039 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.8617, allocations: 137.2 kB / 0.6895 GB, free: 5.039 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.8621, allocations: 331.6 kB / 0.6898 GB, free: 5.008 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.8636, allocations: 1.186 MB / 0.691 GB, free: 4.918 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.8636, allocations: 1.938 kB / 0.691 GB, free: 4.918 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.8636, allocations: 0 / 0.691 GB, free: 4.918 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.8637, allocations: 4 kB / 0.691 GB, free: 4.914 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.001918/0.8656, allocations: 0.939 MB / 0.6919 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.8656, allocations: 11.55 kB / 0.6919 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009202/0.8666, allocations: 139.1 kB / 0.692 GB, free: 20.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006095/0.8672, allocations: 463.7 kB / 0.6925 GB, free: 20 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.8672, allocations: 32.59 kB / 0.6925 GB, free: 20 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.8673, allocations: 40.34 kB / 0.6926 GB, free: 20 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.8683, allocations: 0.594 MB / 0.6931 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.8683, allocations: 0 / 0.6931 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.8684, allocations: 22.56 kB / 0.6932 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.8684, allocations: 11.03 kB / 0.6932 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008336/0.8693, allocations: 484.1 kB / 0.6936 GB, free: 19.88 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.003046/0.8723, allocations: 2.662 MB / 0.6962 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007249/0.873, allocations: 353.2 kB / 0.6966 GB, free: 18.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.8734, allocations: 173.2 kB / 0.6967 GB, free: 18.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/0.8738, allocations: 434.5 kB / 0.6971 GB, free: 17.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.8739, allocations: 43.41 kB / 0.6972 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.8739, allocations: 0 / 0.6972 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001701/0.8756, allocations: 0.7218 MB / 0.6979 GB, free: 17.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/0.8757, allocations: 138.2 kB / 0.698 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005997/0.8763, allocations: 477.7 kB / 0.6985 GB, free: 17.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.8764, allocations: 34.48 kB / 0.6985 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.8766, allocations: 271.4 kB / 0.6988 GB, free: 16.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/0.8767, allocations: 118.4 kB / 0.6989 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.8767, allocations: 10.19 kB / 0.6989 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8769, allocations: 364.5 kB / 0.6992 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.8772, allocations: 153.2 kB / 0.6994 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.8776, allocations: 284.2 kB / 0.6997 GB, free: 16.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/0.8782, allocations: 439.3 kB / 0.7001 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8782, allocations: 6.25 kB / 0.7001 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001089/0.8793, allocations: 0.5413 MB / 0.7006 GB, free: 16.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.8794, allocations: 7.219 kB / 0.7006 GB, free: 16.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8794, allocations: 3.969 kB / 0.7006 GB, free: 16.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.881, allocations: 287.1 kB / 0.7009 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.8814, allocations: 107.9 kB / 0.701 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000469/0.8819, allocations: 0.5926 MB / 0.7016 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.8823, allocations: 66.94 kB / 0.7016 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/0.8824, allocations: 46.59 kB / 0.7017 GB, free: 15.57 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 (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.0002796/0.8827, allocations: 179.8 kB / 0.7019 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.8828, allocations: 55.5 kB / 0.7019 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.8851, allocations: 1.103 MB / 0.703 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.8851, allocations: 2.656 kB / 0.703 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8851, allocations: 0.7812 kB / 0.703 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.8851, allocations: 1.734 kB / 0.703 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.8868, allocations: 1.012 MB / 0.704 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.8868, allocations: 1.188 kB / 0.704 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.887, allocations: 61.88 kB / 0.704 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003197/0.8902, allocations: 0.5341 MB / 0.7046 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.8903, allocations: 10.25 kB / 0.7046 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004534/0.8907, allocations: 0.6016 MB / 0.7052 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.8907, allocations: 9.375 kB / 0.7052 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009201/0.8917, allocations: 0.5073 MB / 0.7057 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.8919, allocations: 149.1 kB / 0.7058 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-05/0.892, allocations: 9.781 kB / 0.7058 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.8924, allocations: 36.31 kB / 0.7059 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.8925, allocations: 28.7 kB / 0.7059 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.8925, allocations: 17.31 kB / 0.7059 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005405/0.8931, allocations: 372.2 kB / 0.7063 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.583e-06/0.8931, allocations: 0 / 0.7063 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001204/0.8943, allocations: 344.4 kB / 0.7066 GB, free: 13.81 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 (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.001139/0.8954, allocations: 443.1 kB / 0.707 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009283/0.8964, allocations: 378.4 kB / 0.7074 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.8964, allocations: 1 kB / 0.7074 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.8968, allocations: 175.1 kB / 0.7075 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.8983, allocations: 297.3 kB / 0.7078 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.8999, allocations: 1.099 MB / 0.7089 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.9003, allocations: 0.856 MB / 0.7097 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.9008, allocations: 118.2 kB / 0.7098 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.9008, allocations: 4 kB / 0.7098 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.02104/0.9219, allocations: 14.74 MB / 0.7242 GB, free: 7.336 MB / 0.4948 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