Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001608/0.001608, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2367/0.2367, allocations: 46.12 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003129/0.003129, allocations: 82.23 kB / 418.3 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1404, allocations: 62.46 MB / 480.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4231/0.5636, allocations: 185.7 MB / 0.6509 GB, free: 9.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.5681, allocations: 2.129 MB / 0.653 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007065/0.5688, allocations: 15.94 kB / 0.653 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.5699, allocations: 309.9 kB / 0.6533 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003715/0.5736, allocations: 1.168 MB / 0.6544 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.5756, allocations: 0.6885 MB / 0.6551 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00217/0.5778, allocations: 1.481 MB / 0.6566 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007495/0.5785, allocations: 423.5 kB / 0.657 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.5797, allocations: 0.5605 MB / 0.6575 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006306/0.5803, allocations: 446.2 kB / 0.6579 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.924e-05/0.5804, allocations: 48 kB / 0.658 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.5824, allocations: 0.7568 MB / 0.6587 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.5826, allocations: 143.6 kB / 0.6589 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.583, allocations: 334.5 kB / 0.6592 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.5851, allocations: 1.2 MB / 0.6603 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5851, allocations: 0 / 0.6603 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5851, allocations: 0 / 0.6603 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.5851, allocations: 0 / 0.6603 GB, free: 15.58 MB / 0.4981 GB 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.001968/0.5871, allocations: 0.9855 MB / 0.6613 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.5871, allocations: 8.031 kB / 0.6613 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5882, allocations: 143.2 kB / 0.6614 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.5889, allocations: 448.4 kB / 0.6619 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.5889, allocations: 29 kB / 0.6619 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.589, allocations: 39.98 kB / 0.6619 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.5901, allocations: 0.5593 MB / 0.6625 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5901, allocations: 3.938 kB / 0.6625 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.5901, allocations: 20 kB / 0.6625 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.5902, allocations: 12 kB / 0.6625 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008901/0.5911, allocations: 411.6 kB / 0.6629 GB, free: 12.82 MB / 0.4981 GB 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.003434/0.5945, allocations: 2.573 MB / 0.6654 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007417/0.5953, allocations: 293.7 kB / 0.6657 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.5956, allocations: 152.8 kB / 0.6659 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005883/0.5962, allocations: 352.4 kB / 0.6662 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.5963, allocations: 34.56 kB / 0.6662 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 3.396e-06/0.5963, allocations: 0 / 0.6662 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.00265/0.5989, allocations: 0.7139 MB / 0.6669 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.968e-05/0.599, allocations: 132.5 kB / 0.667 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000633/0.5997, allocations: 449.8 kB / 0.6675 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.5998, allocations: 33.7 kB / 0.6675 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.6, allocations: 267.9 kB / 0.6678 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.6002, allocations: 98.5 kB / 0.6679 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.6004, allocations: 105.7 kB / 0.668 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.6006, allocations: 358.8 kB / 0.6683 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.601, allocations: 147.9 kB / 0.6684 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.6015, allocations: 284.2 kB / 0.6687 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000986/0.6025, allocations: 413.6 kB / 0.6691 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.6025, allocations: 4 kB / 0.6691 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001451/0.604, allocations: 0.5288 MB / 0.6696 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.604, allocations: 7.938 kB / 0.6696 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.6041, allocations: 7.984 kB / 0.6696 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/0.6062, allocations: 272.8 kB / 0.6699 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.6067, allocations: 107.8 kB / 0.67 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.6077, allocations: 0.5969 MB / 0.6706 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.6082, allocations: 55.58 kB / 0.6706 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/0.6083, allocations: 51.97 kB / 0.6707 GB, free: 4.309 MB / 0.4981 GB 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.0003524/0.6087, allocations: 181.6 kB / 0.6709 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.6088, allocations: 47.44 kB / 0.6709 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.6113, allocations: 1.019 MB / 0.6719 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.6113, allocations: 4 kB / 0.6719 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.6113, allocations: 3.984 kB / 0.6719 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6113, allocations: 0 / 0.6719 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.6133, allocations: 0.9673 MB / 0.6729 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.6134, allocations: 4 kB / 0.6729 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.6136, allocations: 47.84 kB / 0.6729 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.6155, allocations: 264.6 kB / 0.6732 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.6155, allocations: 20.8 kB / 0.6732 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.6166, allocations: 0.5991 MB / 0.6738 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6166, allocations: 0 / 0.6738 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.6181, allocations: 0.5156 MB / 0.6743 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.6183, allocations: 132.4 kB / 0.6744 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.6184, allocations: 11.94 kB / 0.6744 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.6188, allocations: 19.98 kB / 0.6744 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.6189, allocations: 27.91 kB / 0.6744 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.6189, allocations: 19.97 kB / 0.6745 GB, free: 256 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005693/0.6195, allocations: 386.8 kB / 0.6748 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6195, allocations: 4 kB / 0.6748 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008179/0.6203, allocations: 219.8 kB / 0.6751 GB, free: 15.65 MB / 0.5137 GB 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.0008065/0.6212, allocations: 288.8 kB / 0.6753 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.6226, allocations: 384.1 kB / 0.6757 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6226, allocations: 0 / 0.6757 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007586/0.6234, allocations: 163.8 kB / 0.6758 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.6251, allocations: 346.1 kB / 0.6762 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.6274, allocations: 0.9408 MB / 0.6771 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.628, allocations: 0.8433 MB / 0.6779 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/0.6284, allocations: 123.3 kB / 0.678 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.6284, allocations: 0 / 0.678 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.02191/0.6504, allocations: 13.24 MB / 0.691 GB, free: 15.34 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches