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.001562/0.001562, allocations: 115 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.001901, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 77.53 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1216, allocations: 62.44 MB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.426/0.5476, allocations: 183.9 MB / 0.6479 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00659/0.5543, allocations: 3.725 MB / 0.6515 GB, free: 7.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.5554, allocations: 23.81 kB / 0.6515 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.5566, allocations: 274.5 kB / 0.6518 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005827/0.5624, allocations: 1.586 MB / 0.6534 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.5644, allocations: 0.6591 MB / 0.654 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002234/0.5667, allocations: 1.528 MB / 0.6555 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008171/0.5675, allocations: 415.5 kB / 0.6559 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.5688, allocations: 0.5955 MB / 0.6565 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000769/0.5695, allocations: 470.1 kB / 0.6569 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.5697, allocations: 56 kB / 0.657 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.5729, allocations: 1.887 MB / 0.6588 GB, free: 416 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.5731, allocations: 167.4 kB / 0.659 GB, free: 248 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.5736, allocations: 346.5 kB / 0.6593 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.5765, allocations: 1.812 MB / 0.6611 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5765, allocations: 3.938 kB / 0.6611 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5765, allocations: 0 / 0.6611 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.188e-05/0.5765, allocations: 0 / 0.6611 GB, free: 14.08 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.002216/0.5787, allocations: 1.087 MB / 0.6621 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.5788, allocations: 12.02 kB / 0.6622 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.5799, allocations: 143.1 kB / 0.6623 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006508/0.5805, allocations: 456.6 kB / 0.6627 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.5806, allocations: 29 kB / 0.6628 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.5807, allocations: 43.94 kB / 0.6628 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.5818, allocations: 0.5906 MB / 0.6634 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.5818, allocations: 7.938 kB / 0.6634 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.676e-05/0.5819, allocations: 24 kB / 0.6634 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5819, allocations: 8 kB / 0.6634 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009345/0.5829, allocations: 471.6 kB / 0.6639 GB, free: 11.11 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.002968/0.5858, allocations: 2.647 MB / 0.6664 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.5866, allocations: 349 kB / 0.6668 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.5869, allocations: 181.3 kB / 0.6669 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/0.5873, allocations: 433.8 kB / 0.6674 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.5874, allocations: 38.84 kB / 0.6674 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.5874, allocations: 0 / 0.6674 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00174/0.5891, allocations: 0.7148 MB / 0.6681 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.5892, allocations: 132.5 kB / 0.6682 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005057/0.5897, allocations: 469.9 kB / 0.6687 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/0.5898, allocations: 33.7 kB / 0.6687 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.59, allocations: 271.9 kB / 0.669 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.5901, allocations: 114.3 kB / 0.6691 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.5903, allocations: 106.1 kB / 0.6692 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5904, allocations: 358.8 kB / 0.6695 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.5907, allocations: 148.8 kB / 0.6697 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.5911, allocations: 283.7 kB / 0.6699 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.5919, allocations: 433.6 kB / 0.6703 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5919, allocations: 0 / 0.6703 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001043/0.5929, allocations: 0.5441 MB / 0.6709 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5929, allocations: 7.938 kB / 0.6709 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.593, allocations: 4 kB / 0.6709 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.5945, allocations: 237 kB / 0.6711 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.5949, allocations: 107.9 kB / 0.6712 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004401/0.5954, allocations: 0.5836 MB / 0.6718 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.5957, allocations: 67.47 kB / 0.6718 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-05/0.5958, allocations: 48 kB / 0.6719 GB, free: 2.312 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.0002456/0.5961, allocations: 189.6 kB / 0.6721 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.5962, allocations: 51.44 kB / 0.6721 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.5982, allocations: 1.084 MB / 0.6732 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.5982, allocations: 4 kB / 0.6732 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5982, allocations: 0 / 0.6732 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.5983, allocations: 3.984 kB / 0.6732 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.5997, allocations: 1.005 MB / 0.6742 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5997, allocations: 0 / 0.6742 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.6, allocations: 55.91 kB / 0.6742 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00323/0.6032, allocations: 440.3 kB / 0.6746 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.6032, allocations: 12 kB / 0.6747 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004196/0.6037, allocations: 0.603 MB / 0.6752 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6037, allocations: 3.938 kB / 0.6752 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008132/0.6045, allocations: 0.5116 MB / 0.6757 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.6047, allocations: 132.4 kB / 0.6759 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.6048, allocations: 11.94 kB / 0.6759 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.6052, allocations: 35.97 kB / 0.6759 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.6052, allocations: 19.97 kB / 0.6759 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.6053, allocations: 19.94 kB / 0.676 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004618/0.6058, allocations: 402.8 kB / 0.6763 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6058, allocations: 4 kB / 0.6763 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009732/0.6067, allocations: 339.6 kB / 0.6767 GB, free: 13.23 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.001224/0.608, allocations: 449.4 kB / 0.6771 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000901/0.6089, allocations: 389.5 kB / 0.6775 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6089, allocations: 4.125 kB / 0.6775 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.6093, allocations: 164.7 kB / 0.6776 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.6109, allocations: 366.4 kB / 0.678 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.6126, allocations: 1.056 MB / 0.679 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.6132, allocations: 0.8557 MB / 0.6798 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001338/0.6145, allocations: 0.559 MB / 0.6804 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.6148, allocations: 87.39 kB / 0.6805 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.6148, allocations: 0 / 0.6805 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of Templates: time 0.02984/0.6447, allocations: 17.41 MB / 0.6975 GB, free: 7.965 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/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