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.001103/0.001103, allocations: 97.28 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001478, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.7 MB / 247.5 MB, free: 11.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1989/0.1989, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002685, allocations: 11.98 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1095, allocations: 63.55 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4127/0.5223, allocations: 181.4 MB / 0.6495 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.5267, allocations: 2.217 MB / 0.6517 GB, free: 13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007554/0.5275, allocations: 19.88 kB / 0.6517 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009794/0.5285, allocations: 246.5 kB / 0.6519 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.5318, allocations: 1.04 MB / 0.653 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.5337, allocations: 0.6246 MB / 0.6536 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.5361, allocations: 1.96 MB / 0.6555 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000728/0.5369, allocations: 359.2 kB / 0.6558 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.5382, allocations: 0.5018 MB / 0.6563 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.5393, allocations: 450.1 kB / 0.6567 GB, free: 7.824 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.5395, allocations: 24 kB / 0.6568 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.5416, allocations: 0.7137 MB / 0.6575 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.5418, allocations: 131.5 kB / 0.6576 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.5424, allocations: 328.2 kB / 0.6579 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.5437, allocations: 0.8767 MB / 0.6588 GB, free: 5.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5438, allocations: 0 / 0.6588 GB, free: 5.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5438, allocations: 0 / 0.6588 GB, free: 5.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.5438, allocations: 0 / 0.6588 GB, free: 5.75 MB / 494.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.001778/0.5456, allocations: 0.8571 MB / 0.6596 GB, free: 4.844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5456, allocations: 11.97 kB / 0.6596 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.5467, allocations: 143.6 kB / 0.6597 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/0.5474, allocations: 440.6 kB / 0.6602 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.5474, allocations: 29 kB / 0.6602 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.222e-05/0.5475, allocations: 40 kB / 0.6602 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5486, allocations: 0.5632 MB / 0.6608 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5486, allocations: 3.938 kB / 0.6608 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.887e-05/0.5487, allocations: 24 kB / 0.6608 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.5487, allocations: 8 kB / 0.6608 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.5496, allocations: 427.5 kB / 0.6612 GB, free: 3.102 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.002915/0.5525, allocations: 2.574 MB / 0.6637 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.5532, allocations: 293.3 kB / 0.664 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.5535, allocations: 160.7 kB / 0.6642 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.5538, allocations: 352.3 kB / 0.6645 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.5539, allocations: 38.56 kB / 0.6645 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/0.5539, allocations: 0 / 0.6645 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002431/0.5563, allocations: 0.7305 MB / 0.6653 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.5564, allocations: 140.5 kB / 0.6654 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.557, allocations: 441.9 kB / 0.6658 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.557, allocations: 33.7 kB / 0.6658 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.5572, allocations: 271.7 kB / 0.6661 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.988e-05/0.5573, allocations: 102.5 kB / 0.6662 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.5574, allocations: 37.7 kB / 0.6662 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5575, allocations: 362.7 kB / 0.6666 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.558, allocations: 147.9 kB / 0.6667 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/0.5584, allocations: 280.4 kB / 0.667 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008706/0.5593, allocations: 434 kB / 0.6674 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5593, allocations: 0 / 0.6674 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001238/0.5606, allocations: 0.5369 MB / 0.6679 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.5606, allocations: 4.031 kB / 0.6679 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5606, allocations: 11.94 kB / 0.6679 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/0.5628, allocations: 316.5 kB / 0.6682 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.5632, allocations: 107.9 kB / 0.6683 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008901/0.5641, allocations: 0.5992 MB / 0.6689 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.5646, allocations: 59.62 kB / 0.669 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/0.5647, allocations: 51.97 kB / 0.669 GB, free: 10.55 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.0002664/0.5649, allocations: 181.6 kB / 0.6692 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.5651, allocations: 51.34 kB / 0.6693 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.5673, allocations: 1.038 MB / 0.6703 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5673, allocations: 4 kB / 0.6703 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5673, allocations: 0 / 0.6703 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5673, allocations: 3.984 kB / 0.6703 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.569, allocations: 0.9751 MB / 0.6712 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.569, allocations: 0 / 0.6712 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.5693, allocations: 55.89 kB / 0.6713 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/0.5715, allocations: 344.6 kB / 0.6716 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.5715, allocations: 19.86 kB / 0.6716 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008871/0.5724, allocations: 0.6069 MB / 0.6722 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5724, allocations: 7.969 kB / 0.6722 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.5737, allocations: 0.5118 MB / 0.6727 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.5739, allocations: 160.3 kB / 0.6729 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.5741, allocations: 8 kB / 0.6729 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.5745, allocations: 39.88 kB / 0.6729 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.5746, allocations: 27.84 kB / 0.673 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.5747, allocations: 19.97 kB / 0.673 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005061/0.5752, allocations: 390.8 kB / 0.6734 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5752, allocations: 0 / 0.6734 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008078/0.576, allocations: 219.8 kB / 0.6736 GB, free: 5.719 MB / 0.4981 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.0007694/0.5768, allocations: 300.9 kB / 0.6738 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.5782, allocations: 376.5 kB / 0.6742 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5782, allocations: 4 kB / 0.6742 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.5789, allocations: 163.3 kB / 0.6744 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.5808, allocations: 336.1 kB / 0.6747 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.583, allocations: 1.128 MB / 0.6758 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.5835, allocations: 0.8553 MB / 0.6766 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.5839, allocations: 119.3 kB / 0.6767 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.5839, allocations: 0 / 0.6767 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of Templates: time 0.01992/0.6038, allocations: 13.12 MB / 0.6896 GB, free: 5.332 MB / 0.5137 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