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.001067/0.001067, allocations: 119.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.001206/0.001206, 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.335/1.335, 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.211/0.211, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 78.56 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1308, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.405/0.5359, allocations: 186 MB / 0.6518 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.5414, allocations: 3.655 MB / 0.6554 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005235/0.542, allocations: 15.94 kB / 0.6554 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008722/0.5429, allocations: 321.8 kB / 0.6557 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003722/0.5466, allocations: 1.723 MB / 0.6574 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.5483, allocations: 0.7152 MB / 0.6581 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.55, allocations: 1.528 MB / 0.6595 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006757/0.5507, allocations: 427.5 kB / 0.66 GB, free: 272 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.5517, allocations: 0.5721 MB / 0.6605 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006866/0.5524, allocations: 458.1 kB / 0.661 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.5526, allocations: 52 kB / 0.661 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.5557, allocations: 1.933 MB / 0.6629 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.5559, allocations: 155.5 kB / 0.663 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004225/0.5563, allocations: 342.5 kB / 0.6634 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.559, allocations: 1.824 MB / 0.6651 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.559, allocations: 0 / 0.6651 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.559, allocations: 0 / 0.6651 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.5591, allocations: 0 / 0.6651 GB, free: 10.94 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.002063/0.5611, allocations: 1.079 MB / 0.6662 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5612, allocations: 16.86 kB / 0.6662 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.5622, allocations: 133.4 kB / 0.6663 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008371/0.5631, allocations: 484.4 kB / 0.6668 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.5631, allocations: 37 kB / 0.6668 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.5632, allocations: 39.94 kB / 0.6669 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.5643, allocations: 0.5867 MB / 0.6675 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.5643, allocations: 4 kB / 0.6675 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.5644, allocations: 16 kB / 0.6675 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.5644, allocations: 12 kB / 0.6675 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009292/0.5653, allocations: 471.6 kB / 0.6679 GB, free: 7.961 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.003129/0.5685, allocations: 2.647 MB / 0.6705 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007362/0.5692, allocations: 343.4 kB / 0.6708 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.5696, allocations: 177.4 kB / 0.671 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/0.57, allocations: 425.8 kB / 0.6714 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.57, allocations: 42.83 kB / 0.6715 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.807e-06/0.57, allocations: 0 / 0.6715 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001728/0.5718, allocations: 0.7186 MB / 0.6722 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.5719, allocations: 136.5 kB / 0.6723 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/0.5725, allocations: 462 kB / 0.6727 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.5725, allocations: 33.7 kB / 0.6728 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.5728, allocations: 279.8 kB / 0.673 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.5729, allocations: 106.4 kB / 0.6731 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.5731, allocations: 110 kB / 0.6732 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5733, allocations: 358.8 kB / 0.6736 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.5736, allocations: 144.8 kB / 0.6737 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.5741, allocations: 283.7 kB / 0.674 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.5748, allocations: 433.6 kB / 0.6744 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.5748, allocations: 0 / 0.6744 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001055/0.5759, allocations: 0.5403 MB / 0.6749 GB, free: 256 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5759, allocations: 7.938 kB / 0.6749 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5759, allocations: 4 kB / 0.6749 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.5774, allocations: 240.9 kB / 0.6752 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.5778, allocations: 103.9 kB / 0.6753 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004762/0.5783, allocations: 0.5951 MB / 0.6759 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.5787, allocations: 43.53 kB / 0.6759 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.5788, allocations: 47.98 kB / 0.6759 GB, free: 15.19 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.0003182/0.5791, allocations: 181.6 kB / 0.6761 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.5793, allocations: 55.34 kB / 0.6762 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.5813, allocations: 1.085 MB / 0.6772 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5813, allocations: 7.938 kB / 0.6772 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5813, allocations: 0 / 0.6772 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5813, allocations: 0 / 0.6772 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.5829, allocations: 1.014 MB / 0.6782 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5829, allocations: 0 / 0.6782 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.5831, allocations: 47.97 kB / 0.6783 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003037/0.5861, allocations: 440.2 kB / 0.6787 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.5862, allocations: 16 kB / 0.6787 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004352/0.5866, allocations: 0.5992 MB / 0.6793 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5867, allocations: 0 / 0.6793 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008176/0.5875, allocations: 0.5079 MB / 0.6798 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.5877, allocations: 140.4 kB / 0.6799 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.5878, allocations: 11.94 kB / 0.6799 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.5881, allocations: 15.98 kB / 0.6799 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.5882, allocations: 27.97 kB / 0.68 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.5882, allocations: 23.92 kB / 0.68 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004785/0.5887, allocations: 402.8 kB / 0.6804 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5887, allocations: 0 / 0.6804 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000984/0.5897, allocations: 335.7 kB / 0.6807 GB, free: 10.12 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.001111/0.5908, allocations: 461 kB / 0.6811 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008597/0.5917, allocations: 384.6 kB / 0.6815 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5917, allocations: 0 / 0.6815 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.5921, allocations: 160.9 kB / 0.6817 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.5936, allocations: 366.6 kB / 0.682 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.595, allocations: 0.8725 MB / 0.6829 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.5954, allocations: 0.8596 MB / 0.6837 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009608/0.5964, allocations: 0.5583 MB / 0.6842 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.5966, allocations: 83.41 kB / 0.6843 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.5966, allocations: 4 kB / 0.6843 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of Templates: time 0.02764/0.6243, allocations: 17.51 MB / 0.7014 GB, free: 4.93 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 gbode -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