Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008892/0.0008892, allocations: 96.67 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009027/0.0009028, allocations: 175.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3165/0.3165, allocations: 43.54 MB / 314.5 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004825, allocations: 12 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3302/0.4378, allocations: 146.8 MB / 0.5758 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005929/0.4437, allocations: 4.294 MB / 0.58 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.4441, allocations: 15.88 kB / 0.58 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.4448, allocations: 238.8 kB / 0.5802 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.4475, allocations: 1.107 MB / 0.5813 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.4489, allocations: 0.5479 MB / 0.5818 GB, free: 2.695 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.4501, allocations: 0.8591 MB / 0.5827 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.4505, allocations: 347 kB / 0.583 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007125/0.4513, allocations: 494.5 kB / 0.5835 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.4516, allocations: 310.8 kB / 0.5838 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.4517, allocations: 27.94 kB / 0.5838 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.4531, allocations: 0.7841 MB / 0.5846 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.4532, allocations: 127.5 kB / 0.5847 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.4534, allocations: 137.4 kB / 0.5848 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009623/0.4543, allocations: 0.8979 MB / 0.5857 GB, free: 14.74 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.4543, allocations: 0 / 0.5857 GB, free: 14.74 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4544, allocations: 0 / 0.5857 GB, free: 14.74 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.4544, allocations: 0 / 0.5857 GB, free: 14.74 MB / 462.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.001421/0.4558, allocations: 0.8937 MB / 0.5866 GB, free: 13.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.4558, allocations: 12.03 kB / 0.5866 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/0.4567, allocations: 127.3 kB / 0.5867 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.4573, allocations: 424.9 kB / 0.5871 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.4573, allocations: 32.94 kB / 0.5871 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.4574, allocations: 40 kB / 0.5872 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000869/0.4583, allocations: 0.5516 MB / 0.5877 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4583, allocations: 4 kB / 0.5877 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.4583, allocations: 24.48 kB / 0.5877 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.4584, allocations: 15.95 kB / 0.5878 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.4591, allocations: 407.6 kB / 0.5881 GB, free: 12.1 MB / 462.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.002674/0.4618, allocations: 2.569 MB / 0.5907 GB, free: 9.312 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.4623, allocations: 290.8 kB / 0.5909 GB, free: 9.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004904/0.4628, allocations: 335.7 kB / 0.5913 GB, free: 8.641 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.4629, allocations: 43.31 kB / 0.5913 GB, free: 8.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.004e-06/0.4629, allocations: 0 / 0.5913 GB, free: 8.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.002058/0.465, allocations: 0.7234 MB / 0.592 GB, free: 7.844 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.465, allocations: 136.5 kB / 0.5921 GB, free: 7.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.4655, allocations: 445.9 kB / 0.5926 GB, free: 7.234 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.4655, allocations: 29.7 kB / 0.5926 GB, free: 7.199 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.4657, allocations: 279.8 kB / 0.5929 GB, free: 6.922 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.4658, allocations: 102.6 kB / 0.593 GB, free: 6.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.4658, allocations: 4 kB / 0.593 GB, free: 6.816 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.466, allocations: 362.7 kB / 0.5933 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.4663, allocations: 143.9 kB / 0.5934 GB, free: 6.312 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.4667, allocations: 279.9 kB / 0.5937 GB, free: 5.984 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.4671, allocations: 187.9 kB / 0.5939 GB, free: 5.801 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4671, allocations: 0 / 0.5939 GB, free: 5.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001033/0.4682, allocations: 0.5209 MB / 0.5944 GB, free: 5.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4682, allocations: 11.98 kB / 0.5944 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4682, allocations: 4 kB / 0.5944 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.4701, allocations: 320.9 kB / 0.5947 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.4705, allocations: 107.9 kB / 0.5948 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008013/0.4713, allocations: 0.5991 MB / 0.5954 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.4717, allocations: 68.44 kB / 0.5955 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.4718, allocations: 43.98 kB / 0.5955 GB, free: 4.098 MB / 462.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 (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.0002293/0.4721, allocations: 185.7 kB / 0.5957 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.4722, allocations: 51.44 kB / 0.5957 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.4737, allocations: 0.6777 MB / 0.5964 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.4738, allocations: 4 kB / 0.5964 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.4738, allocations: 7.922 kB / 0.5964 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4738, allocations: 0 / 0.5964 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.4753, allocations: 0.9674 MB / 0.5974 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4753, allocations: 0 / 0.5974 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.4755, allocations: 59.89 kB / 0.5974 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.4775, allocations: 336.6 kB / 0.5977 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.4776, allocations: 11.98 kB / 0.5977 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007872/0.4784, allocations: 0.5992 MB / 0.5983 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4784, allocations: 0 / 0.5983 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.4795, allocations: 0.5784 MB / 0.5989 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.4797, allocations: 148.4 kB / 0.599 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/0.4798, allocations: 8 kB / 0.599 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.4802, allocations: 39.88 kB / 0.5991 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.4803, allocations: 31.84 kB / 0.5991 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.4803, allocations: 20.98 kB / 0.5991 GB, free: 184 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003955/0.4807, allocations: 354.8 kB / 0.5995 GB, free: 15.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4807, allocations: 4 kB / 0.5995 GB, free: 15.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007687/0.4815, allocations: 263.8 kB / 0.5997 GB, free: 15.57 MB / 478.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 (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.0007425/0.4823, allocations: 353.5 kB / 0.6001 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.4835, allocations: 380.9 kB / 0.6004 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.4835, allocations: 0 / 0.6004 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006592/0.4842, allocations: 167.8 kB / 0.6006 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.4854, allocations: 266.7 kB / 0.6008 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.4873, allocations: 1.046 MB / 0.6019 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.4876, allocations: 0.859 MB / 0.6027 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007489/0.4884, allocations: 181.8 kB / 0.6029 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.4886, allocations: 79.39 kB / 0.6029 GB, free: 12.21 MB / 478.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4886, allocations: 3.938 kB / 0.603 GB, free: 12.21 MB / 478.1 MB Notification: Performance of Templates: time 0.01827/0.5069, allocations: 12.95 MB / 0.6156 GB, free: 15.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches