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.001329/0.001329, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 77.12 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1293, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4972/0.6266, allocations: 185.8 MB / 0.6516 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004862/0.6315, allocations: 2.12 MB / 0.6537 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007647/0.6323, allocations: 19.88 kB / 0.6537 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009691/0.6333, allocations: 298 kB / 0.654 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.6365, allocations: 1.175 MB / 0.6551 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.6383, allocations: 0.6771 MB / 0.6558 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.6401, allocations: 1.477 MB / 0.6572 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005606/0.6407, allocations: 423.5 kB / 0.6576 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008119/0.6415, allocations: 0.5644 MB / 0.6582 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.642, allocations: 446.2 kB / 0.6586 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.944e-05/0.6421, allocations: 48 kB / 0.6586 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.6437, allocations: 0.8031 MB / 0.6594 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.6438, allocations: 151.5 kB / 0.6596 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.6441, allocations: 318.5 kB / 0.6599 GB, free: 500 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.6457, allocations: 1.208 MB / 0.661 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6457, allocations: 0 / 0.661 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6458, allocations: 0 / 0.661 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.118e-06/0.6458, allocations: 0 / 0.661 GB, free: 15.28 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.001701/0.6475, allocations: 0.9895 MB / 0.662 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.6475, allocations: 12.92 kB / 0.662 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009692/0.6485, allocations: 133.6 kB / 0.6622 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007489/0.6493, allocations: 468.4 kB / 0.6626 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.6493, allocations: 29 kB / 0.6626 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.6494, allocations: 36 kB / 0.6627 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009428/0.6503, allocations: 0.5555 MB / 0.6632 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.6503, allocations: 7.922 kB / 0.6632 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.6504, allocations: 27.98 kB / 0.6632 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.6504, allocations: 12 kB / 0.6633 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007868/0.6512, allocations: 403.6 kB / 0.6636 GB, free: 12.5 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.0028/0.654, allocations: 2.561 MB / 0.6661 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.6547, allocations: 297.4 kB / 0.6664 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.655, allocations: 148.8 kB / 0.6666 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004315/0.6554, allocations: 360.4 kB / 0.6669 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.6555, allocations: 42.5 kB / 0.6669 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.6555, allocations: 0 / 0.6669 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002496/0.658, allocations: 0.7022 MB / 0.6676 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.6582, allocations: 140.5 kB / 0.6678 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.6587, allocations: 449.8 kB / 0.6682 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.6588, allocations: 29.7 kB / 0.6682 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.659, allocations: 271.9 kB / 0.6685 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.6592, allocations: 102.5 kB / 0.6686 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.6594, allocations: 101.7 kB / 0.6687 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.6595, allocations: 358.8 kB / 0.669 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.6599, allocations: 143.9 kB / 0.6692 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/0.6604, allocations: 284.2 kB / 0.6694 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000841/0.6613, allocations: 417.5 kB / 0.6698 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.6613, allocations: 8 kB / 0.6698 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00115/0.6625, allocations: 0.5253 MB / 0.6703 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6625, allocations: 6.812 kB / 0.6704 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6625, allocations: 8 kB / 0.6704 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.6644, allocations: 264.4 kB / 0.6706 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.6648, allocations: 107.9 kB / 0.6707 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009289/0.6658, allocations: 0.5992 MB / 0.6713 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.6662, allocations: 52.45 kB / 0.6714 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.6663, allocations: 47.98 kB / 0.6714 GB, free: 4.004 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.0002681/0.6666, allocations: 181.6 kB / 0.6716 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.6667, allocations: 51.44 kB / 0.6716 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.6686, allocations: 1.02 MB / 0.6726 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.6687, allocations: 4 kB / 0.6726 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6687, allocations: 0 / 0.6726 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.6687, allocations: 3.984 kB / 0.6726 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.6703, allocations: 0.975 MB / 0.6736 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.6703, allocations: 4 kB / 0.6736 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.6705, allocations: 47.91 kB / 0.6736 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.6722, allocations: 260.6 kB / 0.6739 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.6723, allocations: 19.92 kB / 0.6739 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008529/0.6731, allocations: 0.5952 MB / 0.6745 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6731, allocations: 4.031 kB / 0.6745 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.6743, allocations: 0.5116 MB / 0.675 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.6745, allocations: 128.4 kB / 0.6751 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.325e-05/0.6746, allocations: 19.92 kB / 0.6751 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.675, allocations: 15.98 kB / 0.6751 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.6751, allocations: 27.91 kB / 0.6752 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.6751, allocations: 19.91 kB / 0.6752 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004352/0.6755, allocations: 390.8 kB / 0.6756 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6756, allocations: 4 kB / 0.6756 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007333/0.6763, allocations: 215.8 kB / 0.6758 GB, free: 15.34 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.0006549/0.677, allocations: 293.8 kB / 0.676 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.6783, allocations: 368.1 kB / 0.6764 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6783, allocations: 4 kB / 0.6764 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007322/0.679, allocations: 167.7 kB / 0.6766 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.6804, allocations: 356.4 kB / 0.6769 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.6824, allocations: 0.8884 MB / 0.6778 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.6828, allocations: 0.8472 MB / 0.6786 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009055/0.6837, allocations: 0.5429 MB / 0.6791 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.684, allocations: 87.38 kB / 0.6792 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.684, allocations: 0 / 0.6792 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.0231/0.7071, allocations: 14.16 MB / 0.693 GB, free: 13.71 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 -s cvode -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