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.001117/0.001117, allocations: 109.3 kB / 17.21 MB, free: 6.289 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.001086/0.001086, allocations: 194 kB / 18.12 MB, free: 5.379 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.45/1.45, allocations: 222.9 MB / 241.8 MB, free: 15.46 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.2153/0.2153, allocations: 44.19 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 73.02 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1458, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4277/0.5736, allocations: 181 MB / 0.6343 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007239/0.5809, allocations: 3.755 MB / 0.638 GB, free: 8.281 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009388/0.5819, allocations: 27.81 kB / 0.638 GB, free: 8.254 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.5831, allocations: 266.5 kB / 0.6383 GB, free: 7.992 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004241/0.5874, allocations: 1.523 MB / 0.6398 GB, free: 6.473 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.5891, allocations: 0.6426 MB / 0.6404 GB, free: 5.836 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00219/0.5913, allocations: 2.023 MB / 0.6424 GB, free: 3.801 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005876/0.5919, allocations: 363.8 kB / 0.6427 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009221/0.5928, allocations: 0.5253 MB / 0.6432 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.5934, allocations: 466.1 kB / 0.6437 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.5936, allocations: 32 kB / 0.6437 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.5964, allocations: 1.813 MB / 0.6455 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.5966, allocations: 139.5 kB / 0.6456 GB, free: 488 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.597, allocations: 330.5 kB / 0.6459 GB, free: 156 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.5997, allocations: 1.777 MB / 0.6477 GB, free: 14.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.5997, allocations: 4 kB / 0.6477 GB, free: 14.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5997, allocations: 0 / 0.6477 GB, free: 14.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.5998, allocations: 3.938 kB / 0.6477 GB, free: 14.36 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.002039/0.6018, allocations: 1.068 MB / 0.6487 GB, free: 13.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.6018, allocations: 8.031 kB / 0.6487 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.6029, allocations: 139.2 kB / 0.6489 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/0.6035, allocations: 464.4 kB / 0.6493 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.6035, allocations: 40.94 kB / 0.6493 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.6036, allocations: 39.94 kB / 0.6494 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.6047, allocations: 0.5945 MB / 0.65 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.6047, allocations: 3.938 kB / 0.65 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.6048, allocations: 20 kB / 0.65 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.6048, allocations: 8 kB / 0.65 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009833/0.6058, allocations: 471.6 kB / 0.6504 GB, free: 11.4 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.003118/0.609, allocations: 2.651 MB / 0.653 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007742/0.6097, allocations: 343.5 kB / 0.6534 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.6101, allocations: 173.3 kB / 0.6535 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/0.6106, allocations: 433.9 kB / 0.6539 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.6106, allocations: 38.84 kB / 0.654 GB, free: 7.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.6106, allocations: 4 kB / 0.654 GB, free: 7.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001802/0.6124, allocations: 0.7186 MB / 0.6547 GB, free: 6.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.6125, allocations: 132.5 kB / 0.6548 GB, free: 6.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/0.6131, allocations: 470 kB / 0.6552 GB, free: 6.074 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.6132, allocations: 33.7 kB / 0.6553 GB, free: 6.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.6134, allocations: 271.8 kB / 0.6555 GB, free: 5.766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.6135, allocations: 118.2 kB / 0.6557 GB, free: 5.648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.6137, allocations: 102.1 kB / 0.6558 GB, free: 5.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6139, allocations: 362.8 kB / 0.6561 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.6142, allocations: 140.8 kB / 0.6562 GB, free: 5.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.6146, allocations: 279.7 kB / 0.6565 GB, free: 4.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007295/0.6154, allocations: 437.6 kB / 0.6569 GB, free: 4.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6154, allocations: 4 kB / 0.6569 GB, free: 4.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001078/0.6165, allocations: 0.5407 MB / 0.6574 GB, free: 3.688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.6165, allocations: 7.969 kB / 0.6575 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.6165, allocations: 8 kB / 0.6575 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.6181, allocations: 236.5 kB / 0.6577 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.6184, allocations: 105.9 kB / 0.6578 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004461/0.6189, allocations: 0.5798 MB / 0.6584 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.6193, allocations: 67.47 kB / 0.6584 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.081e-05/0.6194, allocations: 51.98 kB / 0.6585 GB, free: 2.613 MB / 494.1 MB 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.0002598/0.6197, allocations: 181.6 kB / 0.6586 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.6198, allocations: 51.44 kB / 0.6587 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.6218, allocations: 1.085 MB / 0.6598 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.6218, allocations: 4 kB / 0.6598 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6218, allocations: 7.938 kB / 0.6598 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6218, allocations: 0 / 0.6598 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.6233, allocations: 1.007 MB / 0.6607 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.6233, allocations: 4.656 kB / 0.6607 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.6236, allocations: 51.91 kB / 0.6608 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00335/0.6269, allocations: 445.5 kB / 0.6612 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.627, allocations: 8 kB / 0.6612 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004306/0.6274, allocations: 0.5991 MB / 0.6618 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6274, allocations: 0 / 0.6618 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008501/0.6283, allocations: 0.5157 MB / 0.6623 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.6284, allocations: 136.3 kB / 0.6624 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.6285, allocations: 8 kB / 0.6625 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.6289, allocations: 36.03 kB / 0.6625 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.629, allocations: 27.97 kB / 0.6625 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.6291, allocations: 19.92 kB / 0.6625 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004952/0.6296, allocations: 402.8 kB / 0.6629 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6296, allocations: 0 / 0.6629 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000982/0.6306, allocations: 331.6 kB / 0.6632 GB, free: 13.54 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.001228/0.6318, allocations: 436 kB / 0.6637 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008975/0.6327, allocations: 364.2 kB / 0.664 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6327, allocations: 3.906 kB / 0.664 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.6331, allocations: 167.8 kB / 0.6642 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.6348, allocations: 353.4 kB / 0.6645 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.6365, allocations: 1.05 MB / 0.6655 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.637, allocations: 0.8596 MB / 0.6664 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001224/0.6382, allocations: 0.5592 MB / 0.6669 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.6385, allocations: 87.41 kB / 0.667 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.6385, allocations: 0 / 0.667 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of Templates: time 0.03104/0.6695, allocations: 16.8 MB / 0.6834 GB, free: 8.965 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 -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/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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches