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.001582/0.001582, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001867/0.001867, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.32/1.32, allocations: 222.9 MB / 242.5 MB, free: 15.34 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.2136/0.2136, allocations: 44.17 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 59.12 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.114, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4389/0.553, allocations: 181 MB / 0.635 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006663/0.5597, allocations: 3.751 MB / 0.6386 GB, free: 8.262 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009293/0.5607, allocations: 15.88 kB / 0.6387 GB, free: 8.246 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.5618, allocations: 274.5 kB / 0.6389 GB, free: 7.977 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004355/0.5662, allocations: 1.525 MB / 0.6404 GB, free: 6.453 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.568, allocations: 0.6434 MB / 0.641 GB, free: 5.816 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.5704, allocations: 2.016 MB / 0.643 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005975/0.571, allocations: 363.8 kB / 0.6434 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009341/0.572, allocations: 0.5253 MB / 0.6439 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005533/0.5726, allocations: 470.1 kB / 0.6443 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.551e-05/0.5726, allocations: 28 kB / 0.6443 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.576, allocations: 1.817 MB / 0.6461 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.5762, allocations: 143.4 kB / 0.6463 GB, free: 468 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.5766, allocations: 334.5 kB / 0.6466 GB, free: 132 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.5785, allocations: 1.181 MB / 0.6477 GB, free: 14.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5785, allocations: 0 / 0.6477 GB, free: 14.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5785, allocations: 0 / 0.6477 GB, free: 14.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.5785, allocations: 0 / 0.6477 GB, free: 14.95 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.002003/0.5805, allocations: 1.075 MB / 0.6488 GB, free: 13.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5806, allocations: 12.03 kB / 0.6488 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009813/0.5816, allocations: 135.2 kB / 0.6489 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.5822, allocations: 469.3 kB / 0.6494 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.5823, allocations: 36.94 kB / 0.6494 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.5823, allocations: 43.94 kB / 0.6494 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.5834, allocations: 0.5867 MB / 0.65 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5835, allocations: 0 / 0.65 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.5835, allocations: 20 kB / 0.65 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.5835, allocations: 12 kB / 0.65 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.5845, allocations: 483.5 kB / 0.6505 GB, free: 11.97 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.002965/0.5874, allocations: 2.651 MB / 0.6531 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007549/0.5882, allocations: 331.5 kB / 0.6534 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.5885, allocations: 169.4 kB / 0.6536 GB, free: 8.598 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005067/0.5891, allocations: 441.8 kB / 0.654 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.5891, allocations: 43.64 kB / 0.654 GB, free: 8.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.5891, allocations: 0 / 0.654 GB, free: 8.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001754/0.5909, allocations: 0.7187 MB / 0.6547 GB, free: 7.277 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.5909, allocations: 132.5 kB / 0.6549 GB, free: 7.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.5915, allocations: 462 kB / 0.6553 GB, free: 6.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.5915, allocations: 33.7 kB / 0.6553 GB, free: 6.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.5917, allocations: 275.8 kB / 0.6556 GB, free: 6.344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5918, allocations: 122.2 kB / 0.6557 GB, free: 6.223 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.592, allocations: 98.11 kB / 0.6558 GB, free: 6.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5922, allocations: 366.8 kB / 0.6562 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.5925, allocations: 144.8 kB / 0.6563 GB, free: 5.613 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.5929, allocations: 279.7 kB / 0.6566 GB, free: 5.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007212/0.5936, allocations: 433.6 kB / 0.657 GB, free: 4.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.5936, allocations: 4 kB / 0.657 GB, free: 4.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001017/0.5947, allocations: 0.5404 MB / 0.6575 GB, free: 4.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.5947, allocations: 11.94 kB / 0.6575 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5947, allocations: 3.938 kB / 0.6575 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.5963, allocations: 236.8 kB / 0.6578 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.5967, allocations: 99.89 kB / 0.6578 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004773/0.5971, allocations: 0.5953 MB / 0.6584 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.5975, allocations: 59.42 kB / 0.6585 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.308e-05/0.5976, allocations: 43.98 kB / 0.6585 GB, free: 3.195 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.0002704/0.5979, allocations: 185.8 kB / 0.6587 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.598, allocations: 51.44 kB / 0.6588 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.6, allocations: 1.087 MB / 0.6598 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6001, allocations: 0 / 0.6598 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.6001, allocations: 4 kB / 0.6598 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.6001, allocations: 7.922 kB / 0.6598 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.6016, allocations: 1.007 MB / 0.6608 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.6016, allocations: 0 / 0.6608 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.6018, allocations: 55.84 kB / 0.6609 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003351/0.6052, allocations: 440.3 kB / 0.6613 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.6052, allocations: 12 kB / 0.6613 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000458/0.6057, allocations: 0.6031 MB / 0.6619 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.6057, allocations: 7.969 kB / 0.6619 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/0.6065, allocations: 0.5038 MB / 0.6624 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.6067, allocations: 132.3 kB / 0.6625 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.6068, allocations: 15.98 kB / 0.6625 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.6072, allocations: 31.97 kB / 0.6626 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.6073, allocations: 27.91 kB / 0.6626 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.6073, allocations: 19.94 kB / 0.6626 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004917/0.6078, allocations: 402.8 kB / 0.663 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6078, allocations: 0 / 0.663 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001043/0.6089, allocations: 327.6 kB / 0.6633 GB, free: 14.11 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.001113/0.61, allocations: 434.7 kB / 0.6637 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008754/0.6109, allocations: 372 kB / 0.6641 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6109, allocations: 3.906 kB / 0.6641 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.6113, allocations: 173 kB / 0.6642 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.613, allocations: 347.1 kB / 0.6646 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.6146, allocations: 1.078 MB / 0.6656 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.615, allocations: 0.8518 MB / 0.6665 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.6154, allocations: 127.4 kB / 0.6666 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of SimCode: time 5.92e-07/0.6154, allocations: 0 / 0.6666 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.02275/0.6382, allocations: 15.13 MB / 0.6813 GB, free: 11.62 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/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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches