Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 115.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 75.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1218, allocations: 62.45 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4391/0.561, allocations: 186 MB / 0.6518 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005457/0.5664, allocations: 3.651 MB / 0.6554 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.567, allocations: 15.88 kB / 0.6554 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008711/0.5679, allocations: 325.8 kB / 0.6557 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.5716, allocations: 1.716 MB / 0.6574 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.5732, allocations: 0.7265 MB / 0.6581 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.5748, allocations: 1.516 MB / 0.6595 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005211/0.5753, allocations: 430.2 kB / 0.66 GB, free: 212 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007768/0.5761, allocations: 0.58 MB / 0.6605 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005021/0.5766, allocations: 450.2 kB / 0.661 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.485e-05/0.5767, allocations: 48 kB / 0.661 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.5797, allocations: 1.934 MB / 0.6629 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.5799, allocations: 155.5 kB / 0.663 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.5802, allocations: 338.5 kB / 0.6634 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.5827, allocations: 1.831 MB / 0.6651 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5827, allocations: 0 / 0.6651 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5827, allocations: 0 / 0.6651 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.5827, allocations: 0 / 0.6651 GB, free: 10.88 MB / 0.4981 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.001941/0.5846, allocations: 1.079 MB / 0.6662 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.5847, allocations: 8.922 kB / 0.6662 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009702/0.5857, allocations: 143.1 kB / 0.6663 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008138/0.5865, allocations: 476.5 kB / 0.6668 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.5865, allocations: 29 kB / 0.6668 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/0.5866, allocations: 47.94 kB / 0.6669 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.5877, allocations: 0.5867 MB / 0.6674 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5877, allocations: 0 / 0.6674 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/0.5878, allocations: 20 kB / 0.6675 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.5878, allocations: 12 kB / 0.6675 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/0.5887, allocations: 471.6 kB / 0.6679 GB, free: 7.906 MB / 0.4981 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.002874/0.5916, allocations: 2.651 MB / 0.6705 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.5923, allocations: 347.4 kB / 0.6708 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.5926, allocations: 169.3 kB / 0.671 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003785/0.593, allocations: 437.8 kB / 0.6714 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.593, allocations: 34.84 kB / 0.6715 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.5931, allocations: 0 / 0.6715 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001643/0.5947, allocations: 0.7186 MB / 0.6722 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.5948, allocations: 132.5 kB / 0.6723 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.5953, allocations: 466 kB / 0.6727 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.5953, allocations: 37.69 kB / 0.6728 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.5956, allocations: 279.8 kB / 0.673 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/0.5957, allocations: 110.4 kB / 0.6731 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.5959, allocations: 106 kB / 0.6732 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.596, allocations: 358.7 kB / 0.6736 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.5963, allocations: 152.8 kB / 0.6737 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.5967, allocations: 279.7 kB / 0.674 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006724/0.5974, allocations: 429.6 kB / 0.6744 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5974, allocations: 4 kB / 0.6744 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009618/0.5984, allocations: 0.5364 MB / 0.6749 GB, free: 192 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5984, allocations: 11.94 kB / 0.6749 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5984, allocations: 4 kB / 0.6749 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.5999, allocations: 237 kB / 0.6752 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.6002, allocations: 107.8 kB / 0.6753 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004356/0.6007, allocations: 0.5873 MB / 0.6759 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.601, allocations: 51.52 kB / 0.6759 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.728e-05/0.6011, allocations: 40 kB / 0.6759 GB, free: 15.13 MB / 0.5137 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.0002297/0.6013, allocations: 193.6 kB / 0.6761 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.6014, allocations: 55.34 kB / 0.6762 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.6033, allocations: 1.077 MB / 0.6772 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.6033, allocations: 0 / 0.6772 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6033, allocations: 0 / 0.6772 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.6033, allocations: 11.92 kB / 0.6772 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.6047, allocations: 1.003 MB / 0.6782 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6047, allocations: 0 / 0.6782 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.605, allocations: 55.91 kB / 0.6783 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002976/0.6079, allocations: 440.3 kB / 0.6787 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.608, allocations: 8 kB / 0.6787 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004361/0.6084, allocations: 0.603 MB / 0.6793 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.6084, allocations: 0 / 0.6793 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.6092, allocations: 0.5157 MB / 0.6798 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.6094, allocations: 132.4 kB / 0.6799 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/0.6095, allocations: 11.94 kB / 0.6799 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.6098, allocations: 24.05 kB / 0.68 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.6099, allocations: 27.91 kB / 0.68 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.6099, allocations: 19.94 kB / 0.68 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004511/0.6104, allocations: 402.8 kB / 0.6804 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6104, allocations: 0 / 0.6804 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009169/0.6113, allocations: 339.7 kB / 0.6807 GB, free: 10.06 MB / 0.5137 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.0009847/0.6123, allocations: 450.6 kB / 0.6811 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008433/0.6131, allocations: 376.6 kB / 0.6815 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6132, allocations: 0 / 0.6815 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.6135, allocations: 173 kB / 0.6817 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.615, allocations: 366.3 kB / 0.682 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.6163, allocations: 0.8652 MB / 0.6829 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.6167, allocations: 0.8634 MB / 0.6837 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009341/0.6176, allocations: 0.5478 MB / 0.6842 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.6179, allocations: 91.41 kB / 0.6843 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.6179, allocations: 0 / 0.6843 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of Templates: time 0.02576/0.6437, allocations: 17.52 MB / 0.7014 GB, free: 4.871 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches