Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.GenericResistances.VolumeFlowRate,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.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,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.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001322/0.001322, allocations: 194 kB / 18.77 MB, free: 4.742 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.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2187/0.2187, allocations: 44.18 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 54.45 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 60.84 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4225/0.5491, allocations: 180.8 MB / 0.6348 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.5529, allocations: 2.244 MB / 0.637 GB, free: 10.15 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.5535, allocations: 15.88 kB / 0.637 GB, free: 10.14 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008197/0.5543, allocations: 250.5 kB / 0.6372 GB, free: 9.891 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.5573, allocations: 1.033 MB / 0.6382 GB, free: 8.859 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.5589, allocations: 0.6243 MB / 0.6388 GB, free: 8.242 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.5611, allocations: 1.98 MB / 0.6408 GB, free: 6.254 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005625/0.5617, allocations: 347.3 kB / 0.6411 GB, free: 5.91 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008269/0.5625, allocations: 0.5135 MB / 0.6416 GB, free: 5.395 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.563, allocations: 458.1 kB / 0.6421 GB, free: 4.945 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.483e-05/0.5631, allocations: 28 kB / 0.6421 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.5645, allocations: 0.7138 MB / 0.6428 GB, free: 4.203 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.5646, allocations: 135.4 kB / 0.6429 GB, free: 4.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.565, allocations: 310.5 kB / 0.6432 GB, free: 3.766 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009829/0.566, allocations: 0.8808 MB / 0.6441 GB, free: 2.883 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.566, allocations: 0 / 0.6441 GB, free: 2.883 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.566, allocations: 0 / 0.6441 GB, free: 2.883 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.566, allocations: 0 / 0.6441 GB, free: 2.883 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00173/0.5677, allocations: 0.9979 MB / 0.645 GB, free: 1.836 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.5678, allocations: 8.031 kB / 0.645 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/0.5688, allocations: 131.3 kB / 0.6452 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.5693, allocations: 444.5 kB / 0.6456 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.5694, allocations: 29 kB / 0.6456 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.5694, allocations: 40 kB / 0.6457 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5705, allocations: 0.5555 MB / 0.6462 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5705, allocations: 0 / 0.6462 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/0.5706, allocations: 16 kB / 0.6462 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5706, allocations: 12 kB / 0.6462 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.5714, allocations: 411.6 kB / 0.6466 GB, free: 136 kB / 478.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.002786/0.5742, allocations: 2.569 MB / 0.6491 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.5749, allocations: 290.8 kB / 0.6494 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.5752, allocations: 144.8 kB / 0.6495 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000378/0.5755, allocations: 356.4 kB / 0.6499 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.5756, allocations: 42.5 kB / 0.6499 GB, free: 12.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.5756, allocations: 3.938 kB / 0.6499 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002426/0.578, allocations: 0.7035 MB / 0.6506 GB, free: 11.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.5781, allocations: 140.5 kB / 0.6507 GB, free: 11.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.5786, allocations: 445.8 kB / 0.6512 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.551e-05/0.5787, allocations: 29.7 kB / 0.6512 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.5789, allocations: 275.8 kB / 0.6515 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.579, allocations: 102.5 kB / 0.6516 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.5792, allocations: 109.5 kB / 0.6517 GB, free: 10.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5793, allocations: 358.8 kB / 0.652 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.5798, allocations: 147.8 kB / 0.6521 GB, free: 10.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.5803, allocations: 271.3 kB / 0.6524 GB, free: 9.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008648/0.5811, allocations: 417.6 kB / 0.6528 GB, free: 9.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.5811, allocations: 5.688 kB / 0.6528 GB, free: 9.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00123/0.5824, allocations: 0.5249 MB / 0.6533 GB, free: 8.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5824, allocations: 4 kB / 0.6533 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5824, allocations: 4 kB / 0.6533 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/0.5846, allocations: 280.8 kB / 0.6536 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.585, allocations: 99.88 kB / 0.6537 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.586, allocations: 0.5992 MB / 0.6543 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.5866, allocations: 59.62 kB / 0.6543 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.5867, allocations: 51.97 kB / 0.6544 GB, free: 7.629 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003123/0.587, allocations: 181.6 kB / 0.6546 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5871, allocations: 51.34 kB / 0.6546 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.5894, allocations: 1.023 MB / 0.6556 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.5894, allocations: 4 kB / 0.6556 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5894, allocations: 4 kB / 0.6556 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5894, allocations: 0 / 0.6556 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.5912, allocations: 0.9731 MB / 0.6566 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.5912, allocations: 8.156 kB / 0.6566 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.5914, allocations: 43.95 kB / 0.6566 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/0.5936, allocations: 288.4 kB / 0.6569 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.5936, allocations: 19.92 kB / 0.6569 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009147/0.5946, allocations: 0.6069 MB / 0.6575 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5946, allocations: 0 / 0.6575 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.5959, allocations: 0.5077 MB / 0.658 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.596, allocations: 136.3 kB / 0.6581 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.5962, allocations: 8 kB / 0.6581 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.5967, allocations: 43.86 kB / 0.6582 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.5967, allocations: 23.91 kB / 0.6582 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.5968, allocations: 19.92 kB / 0.6582 GB, free: 3.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004972/0.5973, allocations: 394.8 kB / 0.6586 GB, free: 3.133 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5973, allocations: 0 / 0.6586 GB, free: 3.133 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007918/0.5981, allocations: 227.8 kB / 0.6588 GB, free: 2.91 MB / 494.1 MB 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0008358/0.5989, allocations: 280.7 kB / 0.6591 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.6004, allocations: 372.4 kB / 0.6594 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6004, allocations: 0 / 0.6594 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007798/0.6012, allocations: 157.7 kB / 0.6596 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.6029, allocations: 326.5 kB / 0.6599 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.6051, allocations: 1.093 MB / 0.661 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.6056, allocations: 0.8436 MB / 0.6618 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.606, allocations: 127.3 kB / 0.6619 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.606, allocations: 0 / 0.6619 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.01885/0.6249, allocations: 13.16 MB / 0.6748 GB, free: 2.574 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches