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.001083/0.001083, allocations: 92.31 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001118, allocations: 202.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.7 MB / 247.5 MB, free: 11.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.18 MB / 345.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002756, allocations: 11.98 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 63.57 MB / 483.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4121/0.5213, allocations: 181.6 MB / 0.6497 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006515/0.5278, allocations: 3.729 MB / 0.6534 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008714/0.5287, allocations: 19.81 kB / 0.6534 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.5299, allocations: 274.5 kB / 0.6536 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004707/0.5346, allocations: 1.55 MB / 0.6552 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.5365, allocations: 0.6351 MB / 0.6558 GB, free: 8.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002422/0.539, allocations: 2.023 MB / 0.6578 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005744/0.5396, allocations: 359.2 kB / 0.6581 GB, free: 6.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008289/0.5404, allocations: 0.5135 MB / 0.6586 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.541, allocations: 466 kB / 0.659 GB, free: 5.547 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.541, allocations: 24 kB / 0.6591 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.5442, allocations: 1.841 MB / 0.6609 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.5444, allocations: 139.5 kB / 0.661 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003853/0.5448, allocations: 348.1 kB / 0.6613 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.5465, allocations: 1.185 MB / 0.6625 GB, free: 2.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5465, allocations: 0 / 0.6625 GB, free: 2.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5465, allocations: 0 / 0.6625 GB, free: 2.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.5465, allocations: 0 / 0.6625 GB, free: 2.008 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.002166/0.5487, allocations: 0.939 MB / 0.6634 GB, free: 1.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.5488, allocations: 19.95 kB / 0.6634 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.5498, allocations: 131.2 kB / 0.6635 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007262/0.5506, allocations: 468.5 kB / 0.664 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.5506, allocations: 33 kB / 0.664 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.5507, allocations: 47.94 kB / 0.6641 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.5518, allocations: 0.5945 MB / 0.6646 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5519, allocations: 3.938 kB / 0.6647 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.5519, allocations: 20 kB / 0.6647 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.5519, allocations: 12 kB / 0.6647 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009858/0.5529, allocations: 483.6 kB / 0.6651 GB, free: 15.15 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.5561, allocations: 2.656 MB / 0.6677 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.5568, allocations: 341.7 kB / 0.6681 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.5572, allocations: 181.4 kB / 0.6682 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004649/0.5577, allocations: 437.8 kB / 0.6687 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.5577, allocations: 42.16 kB / 0.6687 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 4.058e-06/0.5577, allocations: 3.984 kB / 0.6687 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001924/0.5597, allocations: 0.7304 MB / 0.6694 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.5598, allocations: 136.5 kB / 0.6695 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.5604, allocations: 473.9 kB / 0.67 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.5605, allocations: 29.7 kB / 0.67 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.5607, allocations: 279.8 kB / 0.6703 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.5609, allocations: 114.2 kB / 0.6704 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.5609, allocations: 37.7 kB / 0.6704 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.5611, allocations: 358.8 kB / 0.6708 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005042/0.5616, allocations: 156.8 kB / 0.6709 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/0.5623, allocations: 283.7 kB / 0.6712 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008257/0.5632, allocations: 453.6 kB / 0.6716 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5632, allocations: 0 / 0.6716 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001151/0.5643, allocations: 0.5445 MB / 0.6722 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.5644, allocations: 15.97 kB / 0.6722 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5644, allocations: 4 kB / 0.6722 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/0.5661, allocations: 284.5 kB / 0.6725 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.5665, allocations: 115.9 kB / 0.6726 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006007/0.5672, allocations: 0.5874 MB / 0.6731 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.5676, allocations: 67.56 kB / 0.6732 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.5678, allocations: 47.98 kB / 0.6732 GB, free: 6.293 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.0003065/0.5681, allocations: 185.6 kB / 0.6734 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.5682, allocations: 55.34 kB / 0.6735 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.5704, allocations: 1.091 MB / 0.6745 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5704, allocations: 4 kB / 0.6745 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5704, allocations: 0 / 0.6745 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.5704, allocations: 7.984 kB / 0.6746 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.572, allocations: 1.02 MB / 0.6755 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5721, allocations: 0 / 0.6755 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.5723, allocations: 59.91 kB / 0.6756 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/0.5758, allocations: 0.5354 MB / 0.6761 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.5758, allocations: 8 kB / 0.6761 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004797/0.5763, allocations: 0.6069 MB / 0.6767 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.5763, allocations: 4.031 kB / 0.6767 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009599/0.5773, allocations: 0.5159 MB / 0.6772 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.5776, allocations: 160.3 kB / 0.6774 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.5777, allocations: 12 kB / 0.6774 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.5781, allocations: 35.97 kB / 0.6774 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.5782, allocations: 27.91 kB / 0.6775 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.5782, allocations: 11.98 kB / 0.6775 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006058/0.5788, allocations: 410.8 kB / 0.6779 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5788, allocations: 0 / 0.6779 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001052/0.5799, allocations: 339.6 kB / 0.6782 GB, free: 1.043 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.001199/0.5811, allocations: 443.1 kB / 0.6786 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009482/0.5821, allocations: 385.1 kB / 0.679 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5821, allocations: 0 / 0.679 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/0.5825, allocations: 173.7 kB / 0.6791 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.5844, allocations: 348.5 kB / 0.6795 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.5861, allocations: 1.133 MB / 0.6806 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.5867, allocations: 0.8479 MB / 0.6814 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.5871, allocations: 127.4 kB / 0.6815 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.5871, allocations: 0 / 0.6815 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.02501/0.6121, allocations: 15.29 MB / 0.6965 GB, free: 14.3 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/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