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.0009562/0.0009561, allocations: 97.97 kB / 17.01 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001181, allocations: 192.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.7 MB / 246.4 MB, free: 9.711 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.2 MB / 344.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002705, allocations: 8.219 kB / 418.8 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.12, allocations: 63.58 MB / 482.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4515/0.5715, allocations: 169.6 MB / 0.6367 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004048/0.5756, allocations: 2.101 MB / 0.6388 GB, free: 9.508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004232/0.576, allocations: 23.81 kB / 0.6388 GB, free: 9.484 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007547/0.5768, allocations: 230.5 kB / 0.639 GB, free: 9.258 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:729:36-730:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:727:36-728:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:729:36-730:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:727:36-728:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:783:36-784:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:781:36-782:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002667/0.5795, allocations: 0.9986 MB / 0.64 GB, free: 8.258 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.5809, allocations: 0.5277 MB / 0.6405 GB, free: 7.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.5825, allocations: 1.695 MB / 0.6422 GB, free: 6.039 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.583, allocations: 333.9 kB / 0.6425 GB, free: 5.711 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007519/0.5838, allocations: 0.5019 MB / 0.643 GB, free: 5.207 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005054/0.5843, allocations: 434.3 kB / 0.6434 GB, free: 4.781 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.06e-05/0.5844, allocations: 28 kB / 0.6434 GB, free: 4.754 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.5857, allocations: 0.6353 MB / 0.644 GB, free: 4.121 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.5858, allocations: 123.5 kB / 0.6441 GB, free: 4 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.586, allocations: 145.4 kB / 0.6443 GB, free: 3.852 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.587, allocations: 0.8595 MB / 0.6451 GB, free: 2.992 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.587, allocations: 0 / 0.6451 GB, free: 2.992 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.587, allocations: 0 / 0.6451 GB, free: 2.992 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.5871, allocations: 3.938 kB / 0.6451 GB, free: 2.988 MB / 478.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.001606/0.5887, allocations: 0.8533 MB / 0.646 GB, free: 2.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5887, allocations: 8.031 kB / 0.646 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009337/0.5897, allocations: 143.1 kB / 0.6461 GB, free: 1.938 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006698/0.5904, allocations: 428.9 kB / 0.6465 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.5904, allocations: 29 kB / 0.6465 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.5905, allocations: 43.98 kB / 0.6466 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.5915, allocations: 0.5594 MB / 0.6471 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5915, allocations: 0 / 0.6471 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.5916, allocations: 20 kB / 0.6472 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.5916, allocations: 8 kB / 0.6472 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007936/0.5924, allocations: 419.6 kB / 0.6476 GB, free: 380 kB / 478.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.00267/0.5951, allocations: 2.577 MB / 0.6501 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.5957, allocations: 290.8 kB / 0.6504 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.596, allocations: 149.7 kB / 0.6505 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003782/0.5964, allocations: 352.4 kB / 0.6508 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.5965, allocations: 38.56 kB / 0.6509 GB, free: 12.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.5965, allocations: 0 / 0.6509 GB, free: 12.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002269/0.5987, allocations: 0.73 MB / 0.6516 GB, free: 11.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.5988, allocations: 132.5 kB / 0.6517 GB, free: 11.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000497/0.5993, allocations: 449.8 kB / 0.6521 GB, free: 11.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.5994, allocations: 33.7 kB / 0.6522 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.5996, allocations: 263.9 kB / 0.6524 GB, free: 11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.567e-05/0.5997, allocations: 106.5 kB / 0.6525 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.5998, allocations: 12 kB / 0.6525 GB, free: 10.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5999, allocations: 354.7 kB / 0.6529 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.6003, allocations: 151.9 kB / 0.653 GB, free: 10.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.6008, allocations: 284.3 kB / 0.6533 GB, free: 10.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.6012, allocations: 173.4 kB / 0.6535 GB, free: 9.875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.6012, allocations: 0 / 0.6535 GB, free: 9.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001127/0.6024, allocations: 0.5483 MB / 0.654 GB, free: 9.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.6024, allocations: 8 kB / 0.654 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.6024, allocations: 0 / 0.654 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.6043, allocations: 320.7 kB / 0.6543 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.6047, allocations: 103.9 kB / 0.6544 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000841/0.6056, allocations: 0.5991 MB / 0.655 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.606, allocations: 70.97 kB / 0.6551 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.6061, allocations: 48.67 kB / 0.6551 GB, free: 8.156 MB / 494.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.0002606/0.6064, allocations: 189.7 kB / 0.6553 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.6065, allocations: 47.44 kB / 0.6553 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.6086, allocations: 1.037 MB / 0.6563 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6086, allocations: 4 kB / 0.6563 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6086, allocations: 0 / 0.6563 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6086, allocations: 0.875 kB / 0.6563 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.6103, allocations: 0.9713 MB / 0.6573 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6103, allocations: 0 / 0.6573 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.6105, allocations: 60.05 kB / 0.6573 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/0.6125, allocations: 336.4 kB / 0.6577 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.6126, allocations: 15.94 kB / 0.6577 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008348/0.6134, allocations: 0.6108 MB / 0.6583 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6134, allocations: 0 / 0.6583 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.6146, allocations: 0.5079 MB / 0.6588 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.6148, allocations: 152.3 kB / 0.6589 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/0.6149, allocations: 7.938 kB / 0.6589 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.6153, allocations: 35.97 kB / 0.659 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.6154, allocations: 23.97 kB / 0.659 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.6154, allocations: 19.97 kB / 0.659 GB, free: 3.965 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004829/0.6159, allocations: 354.8 kB / 0.6593 GB, free: 3.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 5e-07/0.6159, allocations: 0 / 0.6593 GB, free: 3.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008409/0.6168, allocations: 227.7 kB / 0.6596 GB, free: 3.395 MB / 494.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.0006869/0.6175, allocations: 305.3 kB / 0.6599 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.6187, allocations: 368.5 kB / 0.6602 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6187, allocations: 0 / 0.6602 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.6194, allocations: 171.7 kB / 0.6604 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.6208, allocations: 281 kB / 0.6606 GB, free: 2.297 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.6228, allocations: 1.057 MB / 0.6617 GB, free: 1.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.6232, allocations: 0.855 MB / 0.6625 GB, free: 328 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001205/0.6244, allocations: 0.5457 MB / 0.663 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.6247, allocations: 87.38 kB / 0.6631 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.6247, allocations: 4 kB / 0.6631 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.01945/0.6442, allocations: 12.11 MB / 0.675 GB, free: 3.691 MB / 0.4981 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/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