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.00111/0.00111, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001083/0.001083, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.302/1.302, allocations: 222.9 MB / 242.6 MB, free: 15.45 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.1989/0.1989, allocations: 44.18 MB / 336.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 64.14 kB / 408.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1109, allocations: 60.83 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.393/0.504, allocations: 180.8 MB / 0.635 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004461/0.5085, allocations: 2.21 MB / 0.6371 GB, free: 9.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008097/0.5093, allocations: 23.81 kB / 0.6371 GB, free: 9.938 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.5104, allocations: 262.6 kB / 0.6374 GB, free: 9.68 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.5141, allocations: 1.059 MB / 0.6384 GB, free: 8.621 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.516, allocations: 0.6327 MB / 0.639 GB, free: 7.992 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.518, allocations: 1.488 MB / 0.6405 GB, free: 6.5 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007266/0.5188, allocations: 411.4 kB / 0.6409 GB, free: 6.098 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.5199, allocations: 0.5683 MB / 0.6414 GB, free: 5.527 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/0.5207, allocations: 458.2 kB / 0.6419 GB, free: 5.078 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.5208, allocations: 51.94 kB / 0.6419 GB, free: 5.027 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.5224, allocations: 0.7528 MB / 0.6427 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.5227, allocations: 155.5 kB / 0.6428 GB, free: 4.121 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004589/0.5231, allocations: 334.5 kB / 0.6431 GB, free: 3.793 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.5245, allocations: 0.9003 MB / 0.644 GB, free: 2.891 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5245, allocations: 0 / 0.644 GB, free: 2.891 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5245, allocations: 0 / 0.644 GB, free: 2.891 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.914e-05/0.5246, allocations: 0 / 0.644 GB, free: 2.891 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.002227/0.5268, allocations: 0.9863 MB / 0.645 GB, free: 1.855 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5268, allocations: 8.031 kB / 0.645 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.5279, allocations: 139.2 kB / 0.6451 GB, free: 1.711 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/0.5287, allocations: 444.5 kB / 0.6455 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.5287, allocations: 29 kB / 0.6456 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.5288, allocations: 36 kB / 0.6456 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.5299, allocations: 0.5671 MB / 0.6461 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.53, allocations: 4 kB / 0.6461 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/0.53, allocations: 27.88 kB / 0.6462 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.5301, allocations: 12 kB / 0.6462 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008613/0.5309, allocations: 407.6 kB / 0.6466 GB, free: 128 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.002968/0.5339, allocations: 2.557 MB / 0.6491 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006565/0.5346, allocations: 297.6 kB / 0.6494 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.5349, allocations: 145 kB / 0.6495 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004011/0.5353, allocations: 360.4 kB / 0.6498 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.5353, allocations: 34.56 kB / 0.6499 GB, free: 12.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/0.5353, allocations: 4 kB / 0.6499 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002544/0.5379, allocations: 0.7003 MB / 0.6506 GB, free: 11.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.538, allocations: 140.5 kB / 0.6507 GB, free: 11.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.5385, allocations: 449.8 kB / 0.6511 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/0.5386, allocations: 33.7 kB / 0.6512 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.5388, allocations: 267.9 kB / 0.6514 GB, free: 10.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.5389, allocations: 102.5 kB / 0.6515 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.5391, allocations: 109.6 kB / 0.6516 GB, free: 10.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5393, allocations: 358.8 kB / 0.652 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.5397, allocations: 139.9 kB / 0.6521 GB, free: 10.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.5402, allocations: 279.2 kB / 0.6524 GB, free: 9.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/0.5411, allocations: 420.8 kB / 0.6528 GB, free: 9.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.5411, allocations: 0 / 0.6528 GB, free: 9.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00122/0.5423, allocations: 0.5174 MB / 0.6533 GB, free: 8.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.5424, allocations: 12.03 kB / 0.6533 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.5424, allocations: 4 kB / 0.6533 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.5445, allocations: 272.4 kB / 0.6535 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.545, allocations: 107.8 kB / 0.6536 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.546, allocations: 0.5954 MB / 0.6542 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.5465, allocations: 67.56 kB / 0.6543 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.246e-05/0.5466, allocations: 51.91 kB / 0.6543 GB, free: 7.637 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.0003473/0.547, allocations: 181.6 kB / 0.6545 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.5471, allocations: 63.28 kB / 0.6546 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.5494, allocations: 1.007 MB / 0.6556 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5494, allocations: 0 / 0.6556 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5494, allocations: 0 / 0.6556 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5494, allocations: 7.984 kB / 0.6556 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.5512, allocations: 0.9673 MB / 0.6565 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.5512, allocations: 3.984 kB / 0.6565 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.5515, allocations: 54.47 kB / 0.6566 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.5533, allocations: 256.6 kB / 0.6568 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.5534, allocations: 15.92 kB / 0.6568 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009245/0.5543, allocations: 0.6146 MB / 0.6574 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5543, allocations: 4.031 kB / 0.6574 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.5557, allocations: 0.5 MB / 0.6579 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.5559, allocations: 132.4 kB / 0.658 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.556, allocations: 15.92 kB / 0.6581 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005038/0.5566, allocations: 35.88 kB / 0.6581 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.5566, allocations: 31.94 kB / 0.6581 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.5567, allocations: 15.98 kB / 0.6581 GB, free: 3.555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005302/0.5572, allocations: 390.8 kB / 0.6585 GB, free: 3.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5572, allocations: 0 / 0.6585 GB, free: 3.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008486/0.5581, allocations: 211.8 kB / 0.6587 GB, free: 2.965 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.0008333/0.5589, allocations: 297.5 kB / 0.659 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.5605, allocations: 384.6 kB / 0.6594 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5605, allocations: 0 / 0.6594 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007835/0.5613, allocations: 159.8 kB / 0.6595 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.5631, allocations: 351.1 kB / 0.6598 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.5656, allocations: 1.089 MB / 0.6609 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.5661, allocations: 0.8511 MB / 0.6617 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.5665, allocations: 119.3 kB / 0.6619 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.5666, allocations: 4 kB / 0.6619 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.02003/0.5866, allocations: 13.16 MB / 0.6747 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