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.001064/0.001064, allocations: 111 kB / 17.33 MB, free: 6.02 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.001176/0.001176, allocations: 197.3 kB / 18.25 MB, free: 5.113 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.393/1.393, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.2046/0.2046, allocations: 44.18 MB / 336.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 73.53 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1077, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4338/0.5415, allocations: 180.8 MB / 0.6343 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004278/0.5458, allocations: 2.212 MB / 0.6365 GB, free: 10 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.5469, allocations: 19.81 kB / 0.6365 GB, free: 9.984 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.5482, allocations: 258.6 kB / 0.6367 GB, free: 9.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.552, allocations: 1.059 MB / 0.6378 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.5537, allocations: 0.6372 MB / 0.6384 GB, free: 8.043 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001943/0.5557, allocations: 1.484 MB / 0.6398 GB, free: 6.551 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007771/0.5565, allocations: 407.4 kB / 0.6402 GB, free: 6.152 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.558, allocations: 0.5721 MB / 0.6408 GB, free: 5.578 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009101/0.5589, allocations: 470.1 kB / 0.6412 GB, free: 5.117 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.5591, allocations: 48 kB / 0.6413 GB, free: 5.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.5611, allocations: 0.7451 MB / 0.642 GB, free: 4.324 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.5615, allocations: 159.5 kB / 0.6422 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.5621, allocations: 334.5 kB / 0.6425 GB, free: 3.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.5643, allocations: 1.208 MB / 0.6437 GB, free: 2.629 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5643, allocations: 3.938 kB / 0.6437 GB, free: 2.625 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5643, allocations: 0 / 0.6437 GB, free: 2.625 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.5643, allocations: 0 / 0.6437 GB, free: 2.625 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.002192/0.5665, allocations: 0.9863 MB / 0.6446 GB, free: 1.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5666, allocations: 12.02 kB / 0.6446 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.5677, allocations: 135.3 kB / 0.6448 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.5684, allocations: 444.4 kB / 0.6452 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.5684, allocations: 33 kB / 0.6452 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.5685, allocations: 43.92 kB / 0.6453 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.5696, allocations: 0.5672 MB / 0.6458 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.5697, allocations: 3.938 kB / 0.6458 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.457e-05/0.5697, allocations: 16 kB / 0.6458 GB, free: 276 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.5698, allocations: 15.94 kB / 0.6458 GB, free: 260 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008791/0.5707, allocations: 407.6 kB / 0.6462 GB, free: 15.86 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.002993/0.5737, allocations: 2.557 MB / 0.6487 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/0.5743, allocations: 294.6 kB / 0.649 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.5746, allocations: 145 kB / 0.6491 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/0.575, allocations: 360.4 kB / 0.6495 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.5751, allocations: 34.56 kB / 0.6495 GB, free: 12.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.5751, allocations: 0 / 0.6495 GB, free: 12.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002519/0.5776, allocations: 0.7047 MB / 0.6502 GB, free: 11.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.5777, allocations: 140.5 kB / 0.6503 GB, free: 11.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.5782, allocations: 449.8 kB / 0.6508 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.5783, allocations: 33.69 kB / 0.6508 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.5785, allocations: 267.9 kB / 0.6511 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.5786, allocations: 106.5 kB / 0.6512 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.5788, allocations: 105.6 kB / 0.6513 GB, free: 10.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5789, allocations: 358.8 kB / 0.6516 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.5793, allocations: 139.9 kB / 0.6517 GB, free: 9.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.5798, allocations: 275.2 kB / 0.652 GB, free: 9.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008628/0.5807, allocations: 420.8 kB / 0.6524 GB, free: 9.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5807, allocations: 0 / 0.6524 GB, free: 9.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001258/0.582, allocations: 0.5209 MB / 0.6529 GB, free: 8.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.582, allocations: 11.98 kB / 0.6529 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.582, allocations: 4 kB / 0.6529 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.5842, allocations: 272.8 kB / 0.6532 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/0.5846, allocations: 107.8 kB / 0.6533 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.5857, allocations: 0.5993 MB / 0.6539 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.5862, allocations: 63.5 kB / 0.6539 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.978e-05/0.5863, allocations: 44.86 kB / 0.654 GB, free: 7.371 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.0002927/0.5866, allocations: 189.6 kB / 0.6542 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.5867, allocations: 59.33 kB / 0.6542 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.5889, allocations: 1.014 MB / 0.6552 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.5889, allocations: 0 / 0.6552 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5889, allocations: 4 kB / 0.6552 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5889, allocations: 3.984 kB / 0.6552 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.5906, allocations: 0.9726 MB / 0.6562 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.5906, allocations: 3.938 kB / 0.6562 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.5909, allocations: 51.91 kB / 0.6562 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.5927, allocations: 256.6 kB / 0.6565 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.5928, allocations: 15.92 kB / 0.6565 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009474/0.5937, allocations: 0.6107 MB / 0.6571 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.5937, allocations: 4.031 kB / 0.6571 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.595, allocations: 0.5039 MB / 0.6576 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.5952, allocations: 128.4 kB / 0.6577 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.5954, allocations: 22.47 kB / 0.6577 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.5958, allocations: 35.86 kB / 0.6578 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.5959, allocations: 27.91 kB / 0.6578 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.596, allocations: 27.97 kB / 0.6578 GB, free: 3.273 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004542/0.5964, allocations: 382.8 kB / 0.6582 GB, free: 2.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5964, allocations: 0 / 0.6582 GB, free: 2.898 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007372/0.5972, allocations: 215.8 kB / 0.6584 GB, free: 2.688 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.0007312/0.5979, allocations: 290.7 kB / 0.6587 GB, free: 2.406 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.5994, allocations: 387.7 kB / 0.659 GB, free: 2.027 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.5994, allocations: 0 / 0.659 GB, free: 2.027 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007959/0.6002, allocations: 158.4 kB / 0.6592 GB, free: 1.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.6018, allocations: 359 kB / 0.6595 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.604, allocations: 1.056 MB / 0.6605 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.6044, allocations: 0.8511 MB / 0.6614 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001197/0.6056, allocations: 0.5513 MB / 0.6619 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.6059, allocations: 91.38 kB / 0.662 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.6059, allocations: 0 / 0.662 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.02748/0.6334, allocations: 14.01 MB / 0.6757 GB, free: 1.074 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