Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009244/0.0009245, allocations: 200.4 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 226.6 MB / 243.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007081/0.000708, allocations: 94.3 kB / 295.1 MB, free: 4.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1835/0.1835, allocations: 44.84 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002471/0.0002471, allocations: 8 kB / 464.8 MB, free: 68.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.09098, allocations: 62.95 MB / 0.5153 GB, free: 5.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3602/0.4512, allocations: 166.7 MB / 0.6781 GB, free: 14.74 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003782/0.455, allocations: 2.102 MB / 0.6802 GB, free: 12.64 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006314/0.4557, allocations: 15.88 kB / 0.6802 GB, free: 12.62 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009018/0.4566, allocations: 230.5 kB / 0.6804 GB, free: 12.39 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003283/0.4599, allocations: 1.006 MB / 0.6814 GB, free: 11.39 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.4615, allocations: 0.5335 MB / 0.6819 GB, free: 10.86 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002039/0.4635, allocations: 1.687 MB / 0.6836 GB, free: 9.168 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006847/0.4642, allocations: 333.9 kB / 0.6839 GB, free: 8.84 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.4653, allocations: 0.4942 MB / 0.6844 GB, free: 8.344 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007399/0.4661, allocations: 426.3 kB / 0.6848 GB, free: 7.926 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.4662, allocations: 28 kB / 0.6848 GB, free: 7.898 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.4677, allocations: 0.6396 MB / 0.6854 GB, free: 7.258 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.4679, allocations: 131.5 kB / 0.6856 GB, free: 7.129 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.4681, allocations: 137.5 kB / 0.6857 GB, free: 6.988 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.4694, allocations: 0.8551 MB / 0.6865 GB, free: 6.133 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4694, allocations: 0 / 0.6865 GB, free: 6.133 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4694, allocations: 0 / 0.6865 GB, free: 6.133 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.4694, allocations: 0 / 0.6865 GB, free: 6.133 MB / 474.7 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.001767/0.4712, allocations: 0.8571 MB / 0.6874 GB, free: 5.227 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4712, allocations: 12.03 kB / 0.6874 GB, free: 5.215 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/0.4722, allocations: 139.9 kB / 0.6875 GB, free: 5.078 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.4729, allocations: 436.8 kB / 0.6879 GB, free: 4.609 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.473, allocations: 33 kB / 0.688 GB, free: 4.578 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.473, allocations: 43.94 kB / 0.688 GB, free: 4.535 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.4741, allocations: 0.5555 MB / 0.6885 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.4741, allocations: 0 / 0.6885 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.4742, allocations: 27.94 kB / 0.6886 GB, free: 3.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.4742, allocations: 12 kB / 0.6886 GB, free: 3.898 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008292/0.4751, allocations: 415.6 kB / 0.689 GB, free: 3.496 MB / 474.7 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.003031/0.4781, allocations: 2.569 MB / 0.6915 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.4787, allocations: 294.8 kB / 0.6918 GB, free: 416 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.479, allocations: 150.5 kB / 0.6919 GB, free: 264 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/0.4794, allocations: 356.4 kB / 0.6923 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.4795, allocations: 35.06 kB / 0.6923 GB, free: 15.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 1.442e-06/0.4795, allocations: 3.938 kB / 0.6923 GB, free: 15.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.00238/0.4818, allocations: 0.7259 MB / 0.693 GB, free: 15.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.4819, allocations: 136.5 kB / 0.6931 GB, free: 14.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.4824, allocations: 441.9 kB / 0.6936 GB, free: 14.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.4825, allocations: 33.7 kB / 0.6936 GB, free: 14.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.4827, allocations: 271.8 kB / 0.6938 GB, free: 14.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.4828, allocations: 102.5 kB / 0.6939 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.4829, allocations: 8 kB / 0.694 GB, free: 14.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.483, allocations: 354.8 kB / 0.6943 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.4834, allocations: 151.9 kB / 0.6944 GB, free: 13.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.4839, allocations: 275.3 kB / 0.6947 GB, free: 13.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.4844, allocations: 184.1 kB / 0.6949 GB, free: 13.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4844, allocations: 0 / 0.6949 GB, free: 13.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001224/0.4856, allocations: 0.5416 MB / 0.6954 GB, free: 12.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.4857, allocations: 8 kB / 0.6954 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4857, allocations: 0 / 0.6954 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/0.4879, allocations: 320.5 kB / 0.6957 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.4883, allocations: 107.9 kB / 0.6958 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009121/0.4892, allocations: 0.5991 MB / 0.6964 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.4897, allocations: 71.5 kB / 0.6965 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/0.4898, allocations: 47.98 kB / 0.6965 GB, free: 11.29 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002592/0.49, allocations: 185.6 kB / 0.6967 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.721e-05/0.4901, allocations: 51.44 kB / 0.6967 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.4922, allocations: 1.037 MB / 0.6978 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4923, allocations: 4 kB / 0.6978 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4923, allocations: 0 / 0.6978 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4923, allocations: 3.984 kB / 0.6978 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.494, allocations: 0.974 MB / 0.6987 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.494, allocations: 0 / 0.6987 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.4942, allocations: 56.12 kB / 0.6988 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/0.4964, allocations: 340.4 kB / 0.6991 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.4964, allocations: 15.94 kB / 0.6991 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000926/0.4974, allocations: 0.603 MB / 0.6997 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.4974, allocations: 8.094 kB / 0.6997 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.4986, allocations: 0.5037 MB / 0.7002 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.4988, allocations: 148.4 kB / 0.7003 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.4989, allocations: 8 kB / 0.7003 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.4993, allocations: 39.95 kB / 0.7004 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.4994, allocations: 19.97 kB / 0.7004 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.4994, allocations: 15.98 kB / 0.7004 GB, free: 7.102 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004008/0.4998, allocations: 362.7 kB / 0.7008 GB, free: 6.746 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4998, allocations: 0 / 0.7008 GB, free: 6.746 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007166/0.5006, allocations: 227.7 kB / 0.701 GB, free: 6.523 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000747/0.5013, allocations: 304.9 kB / 0.7013 GB, free: 6.227 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.5026, allocations: 380 kB / 0.7016 GB, free: 5.855 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5026, allocations: 0 / 0.7016 GB, free: 5.855 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00074/0.5034, allocations: 160.6 kB / 0.7018 GB, free: 5.699 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.5047, allocations: 279.6 kB / 0.7021 GB, free: 5.434 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.5068, allocations: 1.087 MB / 0.7031 GB, free: 4.301 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.5073, allocations: 0.8551 MB / 0.7039 GB, free: 3.418 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/0.5076, allocations: 119.3 kB / 0.7041 GB, free: 3.301 MB / 490.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5076, allocations: 0 / 0.7041 GB, free: 3.301 MB / 490.7 MB Notification: Performance of Templates: time 0.01644/0.5241, allocations: 12.59 MB / 0.7164 GB, free: 6.758 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches