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.001364/0.001364, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001456/0.001456, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.432/1.432, allocations: 222.9 MB / 243 MB, free: 15.09 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.2365/0.2365, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.7 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1483, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5308/0.6792, allocations: 183 MB / 0.6384 GB, free: 8.996 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00763/0.6869, allocations: 3.622 MB / 0.642 GB, free: 5.363 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008294/0.6877, allocations: 19.88 kB / 0.642 GB, free: 5.344 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.6889, allocations: 321.9 kB / 0.6423 GB, free: 5.027 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.6943, allocations: 1.7 MB / 0.6439 GB, free: 3.332 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.6968, allocations: 0.7133 MB / 0.6446 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002986/0.6998, allocations: 1.536 MB / 0.6461 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008406/0.7007, allocations: 424.9 kB / 0.6465 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.702, allocations: 0.5721 MB / 0.6471 GB, free: 92 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007555/0.7028, allocations: 462.1 kB / 0.6475 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.617e-05/0.7029, allocations: 52 kB / 0.6476 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004398/0.7073, allocations: 1.891 MB / 0.6494 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.7076, allocations: 159.5 kB / 0.6496 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005902/0.7082, allocations: 338.5 kB / 0.6499 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003771/0.7119, allocations: 1.804 MB / 0.6517 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.712, allocations: 0 / 0.6517 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.712, allocations: 0 / 0.6517 GB, free: 11.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.712, allocations: 0 / 0.6517 GB, free: 11.39 MB / 494.1 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.002738/0.7147, allocations: 1.083 MB / 0.6527 GB, free: 10.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.7148, allocations: 12.03 kB / 0.6527 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.716, allocations: 139.2 kB / 0.6529 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.7172, allocations: 484.4 kB / 0.6533 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.7172, allocations: 29 kB / 0.6534 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.7173, allocations: 43.94 kB / 0.6534 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.7187, allocations: 0.5906 MB / 0.654 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.7187, allocations: 0 / 0.654 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.7188, allocations: 23.98 kB / 0.654 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.7188, allocations: 8 kB / 0.654 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.7198, allocations: 475.6 kB / 0.6545 GB, free: 8.406 MB / 494.1 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.003263/0.7231, allocations: 2.652 MB / 0.6571 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.7239, allocations: 335.6 kB / 0.6574 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.7242, allocations: 169.3 kB / 0.6575 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004192/0.7246, allocations: 441.8 kB / 0.658 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.7247, allocations: 38.78 kB / 0.658 GB, free: 4.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 3.226e-06/0.7247, allocations: 3.984 kB / 0.658 GB, free: 4.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001711/0.7264, allocations: 0.7148 MB / 0.6587 GB, free: 3.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.7265, allocations: 132.5 kB / 0.6588 GB, free: 3.555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00053/0.7271, allocations: 470 kB / 0.6593 GB, free: 3.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.7271, allocations: 33.69 kB / 0.6593 GB, free: 3.047 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.7274, allocations: 271.8 kB / 0.6596 GB, free: 2.777 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.837e-05/0.7275, allocations: 110.4 kB / 0.6597 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.7276, allocations: 114 kB / 0.6598 GB, free: 2.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7278, allocations: 358.8 kB / 0.6601 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.7281, allocations: 148.7 kB / 0.6603 GB, free: 2.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.7285, allocations: 275.7 kB / 0.6605 GB, free: 1.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007513/0.7293, allocations: 437.6 kB / 0.6609 GB, free: 1.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7293, allocations: 0 / 0.6609 GB, free: 1.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001011/0.7303, allocations: 0.534 MB / 0.6615 GB, free: 0.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.7304, allocations: 11.94 kB / 0.6615 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.7304, allocations: 4 kB / 0.6615 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.7319, allocations: 240.9 kB / 0.6617 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.7323, allocations: 103.9 kB / 0.6618 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005227/0.7328, allocations: 0.5913 MB / 0.6624 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.7332, allocations: 51.52 kB / 0.6624 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.387e-05/0.7333, allocations: 40 kB / 0.6625 GB, free: 15.64 MB / 0.4981 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.0003004/0.7336, allocations: 189.6 kB / 0.6627 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.7338, allocations: 51.34 kB / 0.6627 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.7357, allocations: 1.079 MB / 0.6638 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.7357, allocations: 4 kB / 0.6638 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7357, allocations: 0 / 0.6638 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.7357, allocations: 3.984 kB / 0.6638 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.7373, allocations: 1.008 MB / 0.6647 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/0.7373, allocations: 4 kB / 0.6647 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.7375, allocations: 51.91 kB / 0.6648 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/0.7406, allocations: 444.3 kB / 0.6652 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.7407, allocations: 11.94 kB / 0.6652 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004759/0.7412, allocations: 0.5967 MB / 0.6658 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.7412, allocations: 4.031 kB / 0.6658 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009864/0.7422, allocations: 0.5115 MB / 0.6663 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.7424, allocations: 128.5 kB / 0.6664 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.7425, allocations: 15.84 kB / 0.6665 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.7428, allocations: 19.98 kB / 0.6665 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.7429, allocations: 27.91 kB / 0.6665 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.743, allocations: 19.94 kB / 0.6665 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000514/0.7435, allocations: 402.8 kB / 0.6669 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7435, allocations: 0 / 0.6669 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001092/0.7446, allocations: 327.7 kB / 0.6672 GB, free: 10.59 MB / 0.4981 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.001295/0.7459, allocations: 432 kB / 0.6676 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009152/0.7468, allocations: 376 kB / 0.668 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7469, allocations: 4 kB / 0.668 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003514/0.7472, allocations: 173.1 kB / 0.6682 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.7487, allocations: 363.8 kB / 0.6685 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.7503, allocations: 0.8847 MB / 0.6694 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.7507, allocations: 0.8518 MB / 0.6702 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009974/0.7518, allocations: 0.55 MB / 0.6707 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.752, allocations: 91.39 kB / 0.6708 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.752, allocations: 0 / 0.6708 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of Templates: time 0.02924/0.7813, allocations: 17.37 MB / 0.6878 GB, free: 5.602 MB / 0.5137 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 -s cvode -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/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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches