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.000894/0.000894, allocations: 93.33 kB / 17.35 MB, free: 6.344 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.001066/0.001066, allocations: 172.1 kB / 18.25 MB, free: 5.504 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.356/1.356, allocations: 223.2 MB / 242.3 MB, free: 212 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.2026/0.2026, allocations: 44.26 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 11.94 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5319/0.6745, allocations: 178.4 MB / 0.6354 GB, free: 228 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004935/0.6795, allocations: 2.222 MB / 0.6376 GB, free: 14 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007132/0.6803, allocations: 19.81 kB / 0.6376 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009152/0.6812, allocations: 246.6 kB / 0.6379 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.6848, allocations: 1.044 MB / 0.6389 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.6867, allocations: 0.6156 MB / 0.6395 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.6891, allocations: 1.976 MB / 0.6414 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000619/0.6897, allocations: 349.5 kB / 0.6418 GB, free: 9.754 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.6908, allocations: 0.5019 MB / 0.6422 GB, free: 9.25 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.6915, allocations: 458.1 kB / 0.6427 GB, free: 8.801 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.841e-05/0.6916, allocations: 24 kB / 0.6427 GB, free: 8.777 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.6935, allocations: 0.7059 MB / 0.6434 GB, free: 8.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.6937, allocations: 135.5 kB / 0.6435 GB, free: 7.938 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.6941, allocations: 324.2 kB / 0.6438 GB, free: 7.613 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.6957, allocations: 1.172 MB / 0.645 GB, free: 6.438 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.6958, allocations: 0 / 0.645 GB, free: 6.438 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6958, allocations: 4 kB / 0.645 GB, free: 6.434 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.6958, allocations: 0 / 0.645 GB, free: 6.434 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.001712/0.6975, allocations: 0.8538 MB / 0.6458 GB, free: 5.531 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.6976, allocations: 8.031 kB / 0.6458 GB, free: 5.523 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009709/0.6985, allocations: 140 kB / 0.646 GB, free: 5.387 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.6992, allocations: 444.6 kB / 0.6464 GB, free: 4.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.6993, allocations: 29 kB / 0.6464 GB, free: 4.883 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.252e-05/0.6993, allocations: 36 kB / 0.6464 GB, free: 4.848 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.7004, allocations: 0.5594 MB / 0.647 GB, free: 4.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.7004, allocations: 0 / 0.647 GB, free: 4.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.7005, allocations: 24 kB / 0.647 GB, free: 4.227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.7005, allocations: 8 kB / 0.647 GB, free: 4.219 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.7014, allocations: 427.6 kB / 0.6474 GB, free: 3.801 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.002914/0.7043, allocations: 2.58 MB / 0.6499 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006558/0.705, allocations: 298.7 kB / 0.6502 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.7053, allocations: 152.9 kB / 0.6504 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/0.7057, allocations: 352.4 kB / 0.6507 GB, free: 136 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.7057, allocations: 38.56 kB / 0.6507 GB, free: 88 kB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.7057, allocations: 0 / 0.6507 GB, free: 88 kB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.002467/0.7082, allocations: 0.7234 MB / 0.6515 GB, free: 15.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/0.7083, allocations: 140.5 kB / 0.6516 GB, free: 15.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.7088, allocations: 445.8 kB / 0.652 GB, free: 14.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.7089, allocations: 33.7 kB / 0.652 GB, free: 14.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.7091, allocations: 279.7 kB / 0.6523 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.7092, allocations: 98.59 kB / 0.6524 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.7093, allocations: 41.64 kB / 0.6524 GB, free: 14.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.7095, allocations: 354.8 kB / 0.6528 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.7099, allocations: 147.9 kB / 0.6529 GB, free: 13.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.7104, allocations: 283.2 kB / 0.6532 GB, free: 13.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/0.7112, allocations: 436.8 kB / 0.6536 GB, free: 12.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7112, allocations: 0 / 0.6536 GB, free: 12.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001189/0.7124, allocations: 0.5326 MB / 0.6541 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.7125, allocations: 8 kB / 0.6541 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.7125, allocations: 7.938 kB / 0.6541 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.7146, allocations: 316.9 kB / 0.6545 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.715, allocations: 99.88 kB / 0.6545 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009321/0.716, allocations: 0.607 MB / 0.6551 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.7164, allocations: 55.58 kB / 0.6552 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.648e-05/0.7165, allocations: 51.97 kB / 0.6552 GB, free: 11.25 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.0002847/0.7168, allocations: 185.7 kB / 0.6554 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.7169, allocations: 47.44 kB / 0.6555 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.7191, allocations: 1.04 MB / 0.6565 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.7191, allocations: 8 kB / 0.6565 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.7191, allocations: 0 / 0.6565 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.7192, allocations: 0 / 0.6565 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.7209, allocations: 0.9868 MB / 0.6575 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.7209, allocations: 0 / 0.6575 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.7211, allocations: 55.89 kB / 0.6575 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002122/0.7233, allocations: 340.6 kB / 0.6578 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.7233, allocations: 15.92 kB / 0.6578 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008692/0.7242, allocations: 0.5992 MB / 0.6584 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.7242, allocations: 3.969 kB / 0.6584 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.7255, allocations: 0.5194 MB / 0.6589 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.7257, allocations: 156.3 kB / 0.6591 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.452e-05/0.7258, allocations: 8 kB / 0.6591 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.7262, allocations: 35.97 kB / 0.6591 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.7263, allocations: 27.83 kB / 0.6592 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.7263, allocations: 19.98 kB / 0.6592 GB, free: 7.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004957/0.7269, allocations: 394.8 kB / 0.6596 GB, free: 6.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7269, allocations: 0 / 0.6596 GB, free: 6.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008011/0.7277, allocations: 231.7 kB / 0.6598 GB, free: 6.418 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.0007245/0.7284, allocations: 293.7 kB / 0.6601 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.7298, allocations: 375.8 kB / 0.6604 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.7298, allocations: 0.875 kB / 0.6604 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00074/0.7306, allocations: 168 kB / 0.6606 GB, free: 5.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.7324, allocations: 333.8 kB / 0.6609 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.7347, allocations: 1.099 MB / 0.662 GB, free: 4.141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.7352, allocations: 0.8397 MB / 0.6628 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001283/0.7365, allocations: 0.5553 MB / 0.6633 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.7368, allocations: 87.38 kB / 0.6634 GB, free: 2.633 MB / 494.1 MB Notification: Performance of SimCode: time 1.823e-06/0.7368, allocations: 0 / 0.6634 GB, free: 2.633 MB / 494.1 MB Notification: Performance of Templates: time 0.02652/0.7633, allocations: 13.51 MB / 0.6766 GB, free: 5.289 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