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.0009939/0.0009939, allocations: 94.55 kB / 18 MB, free: 5.602 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.001095/0.001095, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.351/1.351, allocations: 223.3 MB / 242.9 MB, free: 24 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1959/0.1959, allocations: 44.25 MB / 338.3 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4362/0.5553, allocations: 178.4 MB / 0.6361 GB, free: 164 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00453/0.5598, allocations: 2.228 MB / 0.6383 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007685/0.5606, allocations: 15.88 kB / 0.6383 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009554/0.5616, allocations: 250.5 kB / 0.6385 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.5649, allocations: 1.034 MB / 0.6395 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.5667, allocations: 0.6157 MB / 0.6401 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.5689, allocations: 1.976 MB / 0.6421 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006874/0.5696, allocations: 355.3 kB / 0.6424 GB, free: 9.688 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.5707, allocations: 0.5058 MB / 0.6429 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007839/0.5715, allocations: 450 kB / 0.6433 GB, free: 8.738 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.5717, allocations: 28 kB / 0.6433 GB, free: 8.711 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.5732, allocations: 0.706 MB / 0.644 GB, free: 8.004 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.5735, allocations: 127.5 kB / 0.6442 GB, free: 7.879 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.5739, allocations: 336.2 kB / 0.6445 GB, free: 7.543 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.5752, allocations: 0.8689 MB / 0.6453 GB, free: 6.672 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5752, allocations: 4 kB / 0.6453 GB, free: 6.668 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5752, allocations: 0 / 0.6453 GB, free: 6.668 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.5752, allocations: 0 / 0.6453 GB, free: 6.668 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.001766/0.577, allocations: 0.8538 MB / 0.6462 GB, free: 5.766 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.5771, allocations: 8.031 kB / 0.6462 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.5781, allocations: 135.2 kB / 0.6463 GB, free: 5.625 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007/0.5788, allocations: 444.6 kB / 0.6467 GB, free: 5.148 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.5789, allocations: 29 kB / 0.6468 GB, free: 5.121 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/0.579, allocations: 36 kB / 0.6468 GB, free: 5.086 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.5801, allocations: 0.5633 MB / 0.6473 GB, free: 4.484 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.5801, allocations: 0 / 0.6473 GB, free: 4.484 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.5802, allocations: 20 kB / 0.6474 GB, free: 4.465 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.5802, allocations: 15.94 kB / 0.6474 GB, free: 4.449 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008885/0.5811, allocations: 419.6 kB / 0.6478 GB, free: 4.039 MB / 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.002955/0.5841, allocations: 2.577 MB / 0.6503 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006558/0.5847, allocations: 298.2 kB / 0.6506 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.585, allocations: 152.9 kB / 0.6507 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/0.5854, allocations: 352.4 kB / 0.6511 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.5855, allocations: 46.5 kB / 0.6511 GB, free: 328 kB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.713e-06/0.5855, allocations: 3.938 kB / 0.6511 GB, free: 324 kB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.002501/0.588, allocations: 0.7196 MB / 0.6518 GB, free: 15.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.5881, allocations: 136.5 kB / 0.6519 GB, free: 15.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/0.5886, allocations: 445.8 kB / 0.6524 GB, free: 14.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.5887, allocations: 33.7 kB / 0.6524 GB, free: 14.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.5889, allocations: 283.7 kB / 0.6527 GB, free: 14.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.589, allocations: 98.58 kB / 0.6528 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.5891, allocations: 37.7 kB / 0.6528 GB, free: 14.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5892, allocations: 362.7 kB / 0.6531 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.5896, allocations: 139.9 kB / 0.6533 GB, free: 14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.5901, allocations: 287.2 kB / 0.6535 GB, free: 13.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008992/0.591, allocations: 428.8 kB / 0.654 GB, free: 13.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.591, allocations: 0 / 0.654 GB, free: 13.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001244/0.5923, allocations: 0.5365 MB / 0.6545 GB, free: 12.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5923, allocations: 4 kB / 0.6545 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.5923, allocations: 11.88 kB / 0.6545 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/0.5945, allocations: 316.9 kB / 0.6548 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.5949, allocations: 109.9 kB / 0.6549 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009145/0.5959, allocations: 0.6031 MB / 0.6555 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.5964, allocations: 59.64 kB / 0.6556 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.899e-05/0.5964, allocations: 47.97 kB / 0.6556 GB, free: 11.48 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.0002722/0.5967, allocations: 181.6 kB / 0.6558 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.5968, allocations: 47.44 kB / 0.6558 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.599, allocations: 1.038 MB / 0.6568 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5991, allocations: 8 kB / 0.6568 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5991, allocations: 0 / 0.6568 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5991, allocations: 0 / 0.6568 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.6008, allocations: 0.9829 MB / 0.6578 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6008, allocations: 0 / 0.6578 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.6011, allocations: 55.95 kB / 0.6578 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/0.6033, allocations: 340.5 kB / 0.6582 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.6034, allocations: 19.92 kB / 0.6582 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008711/0.6042, allocations: 0.5953 MB / 0.6588 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/0.6043, allocations: 8.016 kB / 0.6588 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.6056, allocations: 0.5194 MB / 0.6593 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.6059, allocations: 160.3 kB / 0.6594 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.606, allocations: 8 kB / 0.6594 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/0.6065, allocations: 31.97 kB / 0.6595 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.6066, allocations: 31.89 kB / 0.6595 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.6067, allocations: 19.92 kB / 0.6595 GB, free: 7.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005246/0.6072, allocations: 394.8 kB / 0.6599 GB, free: 6.879 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6072, allocations: 0 / 0.6599 GB, free: 6.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008676/0.6081, allocations: 231.7 kB / 0.6601 GB, free: 6.652 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.0007911/0.6089, allocations: 293.4 kB / 0.6604 GB, free: 6.371 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.6103, allocations: 380.6 kB / 0.6608 GB, free: 6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6103, allocations: 4 kB / 0.6608 GB, free: 5.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007727/0.6111, allocations: 155.8 kB / 0.6609 GB, free: 5.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.6131, allocations: 337.1 kB / 0.6612 GB, free: 5.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.6154, allocations: 1.124 MB / 0.6623 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.6158, allocations: 0.8475 MB / 0.6632 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.6163, allocations: 131.3 kB / 0.6633 GB, free: 3.344 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6163, allocations: 0 / 0.6633 GB, free: 3.344 MB / 494.1 MB Notification: Performance of Templates: time 0.02132/0.6376, allocations: 13.07 MB / 0.6761 GB, free: 6.336 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