Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 177.6 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008277/0.0008278, allocations: 90.28 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4331/0.4331, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 15.98 kB / 431.4 MB, free: 6.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09813, allocations: 58.85 MB / 490.3 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3336/0.4317, allocations: 173.2 MB / 0.6479 GB, free: 9.977 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008377/0.4402, allocations: 5.731 MB / 0.6535 GB, free: 4.234 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007257/0.4409, allocations: 19.81 kB / 0.6535 GB, free: 4.215 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009347/0.4419, allocations: 254.3 kB / 0.6538 GB, free: 3.965 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00468/0.4466, allocations: 1.676 MB / 0.6554 GB, free: 2.301 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.4485, allocations: 0.5637 MB / 0.6559 GB, free: 1.742 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.4507, allocations: 1.719 MB / 0.6576 GB, free: 12 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000717/0.4514, allocations: 337.9 kB / 0.6579 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.4526, allocations: 0.5136 MB / 0.6584 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000765/0.4534, allocations: 438.3 kB / 0.6589 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.4536, allocations: 28 kB / 0.6589 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.4571, allocations: 1.84 MB / 0.6607 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.4574, allocations: 131.5 kB / 0.6608 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.4577, allocations: 145.4 kB / 0.6609 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.4598, allocations: 1.226 MB / 0.6621 GB, free: 11.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4598, allocations: 0 / 0.6621 GB, free: 11.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4599, allocations: 0 / 0.6621 GB, free: 11.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.947e-05/0.4599, allocations: 0 / 0.6621 GB, free: 11.36 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.002137/0.462, allocations: 0.9819 MB / 0.6631 GB, free: 10.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4621, allocations: 12.03 kB / 0.6631 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.4631, allocations: 131.2 kB / 0.6632 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.4639, allocations: 464.8 kB / 0.6637 GB, free: 9.691 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.4639, allocations: 29.5 kB / 0.6637 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.464, allocations: 40 kB / 0.6637 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.4652, allocations: 0.5906 MB / 0.6643 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4652, allocations: 3.938 kB / 0.6643 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/0.4653, allocations: 27.95 kB / 0.6644 GB, free: 8.965 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4653, allocations: 15.98 kB / 0.6644 GB, free: 8.949 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.4663, allocations: 471.6 kB / 0.6648 GB, free: 8.488 MB / 490.7 MB 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.003146/0.4694, allocations: 2.674 MB / 0.6674 GB, free: 5.598 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.4701, allocations: 347.4 kB / 0.6678 GB, free: 5.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.4704, allocations: 173.3 kB / 0.6679 GB, free: 5.078 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/0.4718, allocations: 1.311 MB / 0.6692 GB, free: 3.547 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.4719, allocations: 38.84 kB / 0.6692 GB, free: 3.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.4719, allocations: 0 / 0.6692 GB, free: 3.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001692/0.4736, allocations: 0.726 MB / 0.67 GB, free: 2.746 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.4737, allocations: 132.5 kB / 0.6701 GB, free: 2.586 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005481/0.4742, allocations: 477.9 kB / 0.6705 GB, free: 2.109 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.4743, allocations: 29.7 kB / 0.6706 GB, free: 2.074 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.4745, allocations: 275.9 kB / 0.6708 GB, free: 1.801 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.4746, allocations: 114.2 kB / 0.6709 GB, free: 1.688 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.4746, allocations: 12 kB / 0.6709 GB, free: 1.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4748, allocations: 362.8 kB / 0.6713 GB, free: 1.312 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.4751, allocations: 148.8 kB / 0.6714 GB, free: 1.168 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.4755, allocations: 279.7 kB / 0.6717 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.4759, allocations: 193 kB / 0.6719 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4759, allocations: 3.938 kB / 0.6719 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001021/0.4769, allocations: 0.5404 MB / 0.6724 GB, free: 104 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.477, allocations: 9.719 kB / 0.6724 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.477, allocations: 4 kB / 0.6724 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2421/0.719, allocations: 285.6 kB / 0.6727 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.7195, allocations: 106.5 kB / 0.6728 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003696/0.7199, allocations: 0.5893 MB / 0.6734 GB, free: 151.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.7204, allocations: 59.69 kB / 0.6734 GB, free: 151.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.7205, allocations: 50.58 kB / 0.6735 GB, free: 151.7 MB / 490.7 MB 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.0002822/0.7208, allocations: 187.1 kB / 0.6737 GB, free: 151.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.7209, allocations: 53.28 kB / 0.6737 GB, free: 151.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.7225, allocations: 0.7294 MB / 0.6744 GB, free: 151.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.7225, allocations: 7.188 kB / 0.6744 GB, free: 151.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7225, allocations: 0 / 0.6744 GB, free: 151.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.7225, allocations: 6.016 kB / 0.6744 GB, free: 151.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.724, allocations: 1.013 MB / 0.6754 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.724, allocations: 2.703 kB / 0.6754 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.7242, allocations: 58.08 kB / 0.6755 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/0.7277, allocations: 0.533 MB / 0.676 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.7278, allocations: 13.28 kB / 0.676 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003358/0.7281, allocations: 0.6124 MB / 0.6766 GB, free: 150.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7281, allocations: 1.125 kB / 0.6766 GB, free: 150.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/0.7289, allocations: 0.5085 MB / 0.6771 GB, free: 150.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.7291, allocations: 158.8 kB / 0.6773 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.7292, allocations: 9.062 kB / 0.6773 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.7296, allocations: 36.88 kB / 0.6773 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.7296, allocations: 26.67 kB / 0.6773 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.7297, allocations: 19.75 kB / 0.6774 GB, free: 150.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000434/0.7301, allocations: 375.5 kB / 0.6777 GB, free: 150.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7301, allocations: 0 / 0.6777 GB, free: 150.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009893/0.7311, allocations: 375.1 kB / 0.6781 GB, free: 150.1 MB / 490.7 MB 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.001042/0.7322, allocations: 0.4935 MB / 0.6786 GB, free: 150 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008725/0.733, allocations: 379 kB / 0.6789 GB, free: 150 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.7331, allocations: 1.375 kB / 0.6789 GB, free: 150 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.7334, allocations: 169.8 kB / 0.6791 GB, free: 150 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.735, allocations: 296 kB / 0.6794 GB, free: 149.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.7369, allocations: 1.085 MB / 0.6804 GB, free: 149.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.7373, allocations: 0.862 MB / 0.6813 GB, free: 148.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.7377, allocations: 95.09 kB / 0.6814 GB, free: 148.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.164e-06/0.7377, allocations: 0 / 0.6814 GB, free: 148.6 MB / 490.7 MB Notification: Performance of Templates: time 0.0195/0.7572, allocations: 14.98 MB / 0.696 GB, free: 147.1 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches