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.001113/0.001113, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001138/0.001138, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.335/1.335, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.2152/0.2152, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.48 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1212, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4332/0.5544, allocations: 182.8 MB / 0.6375 GB, free: 9.723 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00428/0.5587, allocations: 2.14 MB / 0.6395 GB, free: 7.578 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007183/0.5595, allocations: 15.88 kB / 0.6396 GB, free: 7.562 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.5606, allocations: 302 kB / 0.6398 GB, free: 7.266 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.5646, allocations: 1.178 MB / 0.641 GB, free: 6.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.5667, allocations: 0.6774 MB / 0.6417 GB, free: 5.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002133/0.5689, allocations: 1.481 MB / 0.6431 GB, free: 3.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008028/0.5697, allocations: 407.6 kB / 0.6435 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.571, allocations: 0.5683 MB / 0.644 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008371/0.5719, allocations: 438.2 kB / 0.6445 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.5721, allocations: 48 kB / 0.6445 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.574, allocations: 0.7373 MB / 0.6452 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.5742, allocations: 155.4 kB / 0.6454 GB, free: 1.594 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005374/0.5748, allocations: 326.5 kB / 0.6457 GB, free: 1.273 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.5771, allocations: 1.204 MB / 0.6469 GB, free: 68 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.5771, allocations: 0 / 0.6469 GB, free: 68 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5771, allocations: 4 kB / 0.6469 GB, free: 64 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.5771, allocations: 0 / 0.6469 GB, free: 64 kB / 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.001835/0.579, allocations: 0.9892 MB / 0.6478 GB, free: 15.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.579, allocations: 8.031 kB / 0.6478 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009775/0.58, allocations: 139.2 kB / 0.648 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.5806, allocations: 444.5 kB / 0.6484 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.5807, allocations: 29 kB / 0.6484 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.5808, allocations: 36 kB / 0.6485 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009985/0.5818, allocations: 0.5632 MB / 0.649 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5818, allocations: 0 / 0.649 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.5819, allocations: 16 kB / 0.649 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.5819, allocations: 12 kB / 0.649 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.5827, allocations: 415.5 kB / 0.6494 GB, free: 13.31 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.002739/0.5854, allocations: 2.584 MB / 0.652 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.5861, allocations: 282.6 kB / 0.6522 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.5864, allocations: 149 kB / 0.6524 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00042/0.5868, allocations: 352.4 kB / 0.6527 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.5869, allocations: 50.48 kB / 0.6528 GB, free: 9.594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.893e-06/0.5869, allocations: 3.938 kB / 0.6528 GB, free: 9.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.00245/0.5893, allocations: 0.7061 MB / 0.6534 GB, free: 8.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.5894, allocations: 132.5 kB / 0.6536 GB, free: 8.695 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.5899, allocations: 445.9 kB / 0.654 GB, free: 8.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.59, allocations: 33.7 kB / 0.654 GB, free: 8.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.5902, allocations: 271.8 kB / 0.6543 GB, free: 7.941 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.5903, allocations: 106.5 kB / 0.6544 GB, free: 7.836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.5905, allocations: 97.66 kB / 0.6545 GB, free: 7.734 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5906, allocations: 362.8 kB / 0.6548 GB, free: 7.371 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.5911, allocations: 143.9 kB / 0.655 GB, free: 7.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.5916, allocations: 271.3 kB / 0.6552 GB, free: 6.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008691/0.5924, allocations: 426.2 kB / 0.6556 GB, free: 6.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.5925, allocations: 4 kB / 0.6556 GB, free: 6.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001245/0.5937, allocations: 0.5249 MB / 0.6561 GB, free: 5.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5937, allocations: 4 kB / 0.6562 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5938, allocations: 4 kB / 0.6562 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002047/0.5958, allocations: 281.6 kB / 0.6564 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.5962, allocations: 99.88 kB / 0.6565 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000862/0.5971, allocations: 0.5992 MB / 0.6571 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.5975, allocations: 51.52 kB / 0.6572 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/0.5976, allocations: 47.98 kB / 0.6572 GB, free: 4.805 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.0002566/0.5979, allocations: 185.7 kB / 0.6574 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.598, allocations: 47.44 kB / 0.6574 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.6002, allocations: 1.023 MB / 0.6584 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.6002, allocations: 4 kB / 0.6584 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6002, allocations: 0.875 kB / 0.6584 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.6002, allocations: 3.984 kB / 0.6584 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.6019, allocations: 0.9673 MB / 0.6594 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6019, allocations: 4 kB / 0.6594 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.6021, allocations: 51.89 kB / 0.6594 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.6039, allocations: 256.6 kB / 0.6597 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.6039, allocations: 23.92 kB / 0.6597 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008456/0.6048, allocations: 0.5992 MB / 0.6603 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6048, allocations: 7.875 kB / 0.6603 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.6061, allocations: 0.5038 MB / 0.6608 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.6063, allocations: 132.4 kB / 0.6609 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.6064, allocations: 15.92 kB / 0.6609 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.6068, allocations: 15.98 kB / 0.6609 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.6069, allocations: 31.84 kB / 0.661 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.6069, allocations: 23.92 kB / 0.661 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005006/0.6074, allocations: 386.8 kB / 0.6614 GB, free: 364 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6075, allocations: 0 / 0.6614 GB, free: 364 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000821/0.6083, allocations: 219.8 kB / 0.6616 GB, free: 144 kB / 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.0008309/0.6091, allocations: 291.9 kB / 0.6618 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.6105, allocations: 380.2 kB / 0.6622 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6106, allocations: 0 / 0.6622 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.6113, allocations: 157.3 kB / 0.6624 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.613, allocations: 355.2 kB / 0.6627 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.6152, allocations: 0.9447 MB / 0.6636 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.6156, allocations: 0.8472 MB / 0.6644 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.6161, allocations: 119.3 kB / 0.6646 GB, free: 13 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.6161, allocations: 7.938 kB / 0.6646 GB, free: 13 MB / 0.4981 GB Notification: Performance of Templates: time 0.02023/0.6363, allocations: 13.15 MB / 0.6774 GB, free: 15.91 MB / 0.5137 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