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.001106/0.001106, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001338/0.001338, allocations: 194 kB / 18.12 MB, free: 5.363 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.369/1.369, allocations: 222.9 MB / 241.8 MB, free: 13.83 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.1997/0.1997, allocations: 44.17 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 56.38 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1212, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.45/0.5712, allocations: 180.8 MB / 0.6341 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004556/0.5758, allocations: 2.24 MB / 0.6363 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007805/0.5767, allocations: 19.81 kB / 0.6363 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.5777, allocations: 246.6 kB / 0.6366 GB, free: 9.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.5812, allocations: 1.041 MB / 0.6376 GB, free: 8.773 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.5828, allocations: 0.6287 MB / 0.6382 GB, free: 8.152 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002282/0.5851, allocations: 1.98 MB / 0.6401 GB, free: 6.164 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000645/0.5858, allocations: 355.3 kB / 0.6405 GB, free: 5.812 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.5869, allocations: 0.5019 MB / 0.641 GB, free: 5.309 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007723/0.5877, allocations: 462.1 kB / 0.6414 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.5878, allocations: 28 kB / 0.6414 GB, free: 4.828 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.5894, allocations: 0.7137 MB / 0.6421 GB, free: 4.113 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.5896, allocations: 131.5 kB / 0.6423 GB, free: 3.984 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.59, allocations: 310.5 kB / 0.6426 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.5917, allocations: 1.192 MB / 0.6437 GB, free: 2.484 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5918, allocations: 0 / 0.6437 GB, free: 2.484 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.5918, allocations: 0 / 0.6437 GB, free: 2.484 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.5918, allocations: 0 / 0.6437 GB, free: 2.484 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.002053/0.5938, allocations: 0.9926 MB / 0.6447 GB, free: 1.445 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5939, allocations: 8.031 kB / 0.6447 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.595, allocations: 127.3 kB / 0.6448 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007571/0.5958, allocations: 444.5 kB / 0.6452 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.5958, allocations: 33 kB / 0.6453 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.5959, allocations: 40 kB / 0.6453 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.5971, allocations: 0.5554 MB / 0.6459 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.5972, allocations: 4 kB / 0.6459 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-05/0.5972, allocations: 16 kB / 0.6459 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.5973, allocations: 15.94 kB / 0.6459 GB, free: 140 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/0.5982, allocations: 407.6 kB / 0.6463 GB, free: 15.74 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.003277/0.6015, allocations: 2.573 MB / 0.6488 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.6022, allocations: 286.7 kB / 0.6491 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.6025, allocations: 144.9 kB / 0.6492 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/0.603, allocations: 352.4 kB / 0.6495 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.6031, allocations: 42.56 kB / 0.6496 GB, free: 12.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 2.084e-06/0.6031, allocations: 0 / 0.6496 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002574/0.6057, allocations: 0.709 MB / 0.6503 GB, free: 11.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.6058, allocations: 132.5 kB / 0.6504 GB, free: 11.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.6063, allocations: 445.8 kB / 0.6508 GB, free: 10.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.6064, allocations: 33.7 kB / 0.6508 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.6066, allocations: 275.8 kB / 0.6511 GB, free: 10.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.6067, allocations: 102.5 kB / 0.6512 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.6069, allocations: 109.6 kB / 0.6513 GB, free: 10.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.607, allocations: 358.8 kB / 0.6517 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.6074, allocations: 139.9 kB / 0.6518 GB, free: 9.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.6079, allocations: 279.3 kB / 0.6521 GB, free: 9.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/0.6088, allocations: 420.8 kB / 0.6525 GB, free: 8.895 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.6088, allocations: 3.938 kB / 0.6525 GB, free: 8.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001263/0.6101, allocations: 0.5255 MB / 0.653 GB, free: 8.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.6101, allocations: 8 kB / 0.653 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6101, allocations: 4 kB / 0.653 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/0.6122, allocations: 276.8 kB / 0.6533 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.6127, allocations: 99.88 kB / 0.6533 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.6137, allocations: 0.604 MB / 0.6539 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.6142, allocations: 67.5 kB / 0.654 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.6143, allocations: 43.98 kB / 0.654 GB, free: 7.238 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.0004032/0.6147, allocations: 177.7 kB / 0.6542 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.6148, allocations: 55.34 kB / 0.6543 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.6171, allocations: 1.021 MB / 0.6553 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6171, allocations: 0 / 0.6553 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6171, allocations: 0 / 0.6553 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6171, allocations: 4 kB / 0.6553 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.6189, allocations: 0.9712 MB / 0.6562 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.6189, allocations: 0 / 0.6562 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.6192, allocations: 56.05 kB / 0.6563 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/0.6213, allocations: 288.4 kB / 0.6565 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.6214, allocations: 19.91 kB / 0.6566 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009467/0.6223, allocations: 0.6049 MB / 0.6572 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.6223, allocations: 7.969 kB / 0.6572 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.6237, allocations: 0.5 MB / 0.6576 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.6239, allocations: 136.3 kB / 0.6578 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.624, allocations: 8 kB / 0.6578 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.6245, allocations: 35.88 kB / 0.6578 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.6246, allocations: 31.84 kB / 0.6578 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.6247, allocations: 15.97 kB / 0.6579 GB, free: 3.137 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005871/0.6253, allocations: 390.8 kB / 0.6582 GB, free: 2.754 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6253, allocations: 0 / 0.6582 GB, free: 2.754 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009245/0.6262, allocations: 219.8 kB / 0.6584 GB, free: 2.539 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.000879/0.6271, allocations: 303.7 kB / 0.6587 GB, free: 2.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.6286, allocations: 368.5 kB / 0.6591 GB, free: 1.887 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6286, allocations: 0 / 0.6591 GB, free: 1.887 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007842/0.6294, allocations: 161 kB / 0.6592 GB, free: 1.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.631, allocations: 330.8 kB / 0.6596 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.6333, allocations: 1.051 MB / 0.6606 GB, free: 324 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.6337, allocations: 0.8552 MB / 0.6614 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00124/0.635, allocations: 0.5458 MB / 0.662 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.6353, allocations: 91.36 kB / 0.662 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.6353, allocations: 0 / 0.662 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.02363/0.6589, allocations: 13.58 MB / 0.6753 GB, free: 1.375 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/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