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.0009019/0.000902, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.7 MB / 246.8 MB, free: 9.582 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1816/0.1816, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002259/0.000226, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08676, allocations: 63.56 MB / 483.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3274/0.4142, allocations: 181.6 MB / 0.6491 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005304/0.4195, allocations: 3.741 MB / 0.6527 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004091/0.4199, allocations: 19.88 kB / 0.6527 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006899/0.4206, allocations: 270.5 kB / 0.653 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.4239, allocations: 1.542 MB / 0.6545 GB, free: 9.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.4254, allocations: 0.6368 MB / 0.6551 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.4273, allocations: 2.023 MB / 0.6571 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005082/0.4278, allocations: 347.3 kB / 0.6574 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007708/0.4286, allocations: 0.5252 MB / 0.658 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005586/0.4292, allocations: 462.1 kB / 0.6584 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.702e-05/0.4293, allocations: 28 kB / 0.6584 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.4318, allocations: 1.833 MB / 0.6602 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.4319, allocations: 139.4 kB / 0.6603 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.4323, allocations: 348.2 kB / 0.6607 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.4343, allocations: 1.781 MB / 0.6624 GB, free: 1.297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4343, allocations: 0 / 0.6624 GB, free: 1.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4343, allocations: 0 / 0.6624 GB, free: 1.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.4344, allocations: 3.938 kB / 0.6624 GB, free: 1.293 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.001581/0.4359, allocations: 0.9351 MB / 0.6633 GB, free: 316 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.436, allocations: 11.97 kB / 0.6633 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009981/0.437, allocations: 143.2 kB / 0.6635 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.4376, allocations: 464.5 kB / 0.6639 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.4376, allocations: 29 kB / 0.664 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.4377, allocations: 47.88 kB / 0.664 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4388, allocations: 0.5945 MB / 0.6646 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4388, allocations: 7.922 kB / 0.6646 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.4389, allocations: 24 kB / 0.6646 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.4389, allocations: 12 kB / 0.6646 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009298/0.4398, allocations: 475.6 kB / 0.6651 GB, free: 14.45 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.002701/0.4425, allocations: 2.663 MB / 0.6677 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/0.4433, allocations: 343.5 kB / 0.668 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.4436, allocations: 181.3 kB / 0.6682 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003401/0.4439, allocations: 433.9 kB / 0.6686 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.444, allocations: 38.84 kB / 0.6686 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.727e-06/0.444, allocations: 0 / 0.6686 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001666/0.4457, allocations: 0.7343 MB / 0.6693 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.4457, allocations: 132.5 kB / 0.6695 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.4462, allocations: 481.9 kB / 0.6699 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.4463, allocations: 33.7 kB / 0.67 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.4465, allocations: 267.9 kB / 0.6702 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.504e-05/0.4466, allocations: 126.2 kB / 0.6703 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.4467, allocations: 33.7 kB / 0.6704 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4468, allocations: 358.8 kB / 0.6707 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.4471, allocations: 160.8 kB / 0.6709 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.4475, allocations: 287.7 kB / 0.6711 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.4482, allocations: 441.6 kB / 0.6716 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4482, allocations: 0 / 0.6716 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009958/0.4493, allocations: 0.5481 MB / 0.6721 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4493, allocations: 12.38 kB / 0.6721 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4493, allocations: 8 kB / 0.6721 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.4509, allocations: 284.5 kB / 0.6724 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.4513, allocations: 107.8 kB / 0.6725 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003842/0.4517, allocations: 0.5876 MB / 0.6731 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.4521, allocations: 67.06 kB / 0.6731 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.4521, allocations: 48.06 kB / 0.6732 GB, free: 5.586 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.0002297/0.4524, allocations: 181.6 kB / 0.6733 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.4525, allocations: 55.34 kB / 0.6734 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.4545, allocations: 1.1 MB / 0.6745 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4545, allocations: 4 kB / 0.6745 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4546, allocations: 0 / 0.6745 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4546, allocations: 3.984 kB / 0.6745 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.4559, allocations: 1.02 MB / 0.6755 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.456, allocations: 0 / 0.6755 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.4562, allocations: 55.91 kB / 0.6755 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003515/0.4597, allocations: 0.5354 MB / 0.6761 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.4597, allocations: 11.98 kB / 0.6761 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000373/0.4601, allocations: 0.6069 MB / 0.6767 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4601, allocations: 0 / 0.6767 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.4609, allocations: 0.5199 MB / 0.6772 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.4611, allocations: 160.3 kB / 0.6773 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.094e-05/0.4612, allocations: 8 kB / 0.6773 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.4615, allocations: 39.91 kB / 0.6774 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.141e-05/0.4616, allocations: 27.91 kB / 0.6774 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.4617, allocations: 16 kB / 0.6774 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004613/0.4621, allocations: 406.8 kB / 0.6778 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4621, allocations: 8 kB / 0.6778 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008184/0.463, allocations: 339.6 kB / 0.6781 GB, free: 332 kB / 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.0009513/0.4639, allocations: 445.4 kB / 0.6785 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007864/0.4647, allocations: 377.6 kB / 0.6789 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4647, allocations: 4 kB / 0.6789 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.4651, allocations: 173.1 kB / 0.6791 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.467, allocations: 349.6 kB / 0.6794 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.4683, allocations: 1.093 MB / 0.6805 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.4686, allocations: 0.8557 MB / 0.6813 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001172/0.4698, allocations: 0.5587 MB / 0.6819 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.4701, allocations: 87.41 kB / 0.6819 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.4701, allocations: 0 / 0.6819 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.02508/0.4952, allocations: 16.88 MB / 0.6984 GB, free: 11.57 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