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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 169.3 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.95/0.95, allocations: 158.6 MB / 186 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1623/0.1623, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.587e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2921/0.2921, allocations: 146.3 MB / 445.4 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.2956, allocations: 2.051 MB / 447.5 MB, free: 9.434 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.2961, allocations: 23.75 kB / 447.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.2966, allocations: 170.6 kB / 447.6 MB, free: 9.242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.2991, allocations: 1.037 MB / 448.7 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.3002, allocations: 0.5306 MB / 449.2 MB, free: 7.668 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.3019, allocations: 1.48 MB / 450.7 MB, free: 6.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005727/0.3025, allocations: 356.8 kB / 451 MB, free: 5.824 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009259/0.3034, allocations: 0.7365 MB / 451.8 MB, free: 5.086 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.304, allocations: 382.8 kB / 452.2 MB, free: 4.711 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.992e-05/0.3041, allocations: 48 kB / 452.2 MB, free: 4.664 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.3054, allocations: 0.6642 MB / 452.9 MB, free: 4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.3055, allocations: 163.3 kB / 453 MB, free: 3.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.3057, allocations: 231.5 kB / 453.2 MB, free: 3.613 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.3071, allocations: 0.9853 MB / 454.2 MB, free: 2.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3071, allocations: 0 / 454.2 MB, free: 2.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3071, allocations: 3.984 kB / 454.2 MB, free: 2.621 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.3071, allocations: 0 / 454.2 MB, free: 2.621 MB / 410.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.001255/0.3084, allocations: 0.888 MB / 455.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3084, allocations: 16.03 kB / 455.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006887/0.3091, allocations: 216.3 kB / 455.4 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.3096, allocations: 368.4 kB / 455.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3096, allocations: 29.38 kB / 455.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.3097, allocations: 44.38 kB / 455.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000829/0.3105, allocations: 0.7233 MB / 456.5 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3105, allocations: 0 / 456.5 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.3105, allocations: 20 kB / 456.5 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.3105, allocations: 8 kB / 456.5 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1857/0.4962, allocations: 183.7 kB / 456.7 MB, free: 14.51 MB / 410.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.001918/0.4981, allocations: 1.536 MB / 458.3 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.4985, allocations: 132 kB / 458.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.4985, allocations: 51.06 kB / 458.4 MB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004831/0.499, allocations: 274.9 kB / 458.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.4991, allocations: 38.69 kB / 458.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.887e-06/0.4991, allocations: 0.5625 kB / 458.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001129/0.5002, allocations: 351.9 kB / 459.1 MB, free: 13.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.5002, allocations: 136.7 kB / 459.2 MB, free: 13.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.5005, allocations: 346.8 kB / 459.6 MB, free: 13.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.5005, allocations: 32.44 kB / 459.6 MB, free: 13.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.5007, allocations: 243.2 kB / 459.8 MB, free: 13.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.5007, allocations: 109.9 kB / 459.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.5009, allocations: 95.67 kB / 460 MB, free: 12.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.137e-05/0.5009, allocations: 352.2 kB / 460.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.501, allocations: 45.06 kB / 460.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.5012, allocations: 256.2 kB / 460.7 MB, free: 12.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.5015, allocations: 245.4 kB / 460.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.5015, allocations: 2.281 kB / 460.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004244/0.5019, allocations: 261.5 kB / 461.2 MB, free: 12.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5019, allocations: 6.156 kB / 461.2 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5019, allocations: 6.562 kB / 461.2 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008828/0.5028, allocations: 206.7 kB / 461.4 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.5031, allocations: 98.45 kB / 461.5 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003611/0.5034, allocations: 0.5546 MB / 462 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.5036, allocations: 30.52 kB / 462.1 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.5037, allocations: 44.3 kB / 462.1 MB, free: 11.7 MB / 410.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 (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.0001308/0.5038, allocations: 139.4 kB / 462.2 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.038e-05/0.5039, allocations: 41.75 kB / 462.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007387/0.5047, allocations: 461.5 kB / 462.7 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5047, allocations: 2.531 kB / 462.7 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.5047, allocations: 2.344 kB / 462.7 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.5047, allocations: 2.219 kB / 462.7 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007961/0.5055, allocations: 0.5522 MB / 463.3 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5055, allocations: 6.688 kB / 463.3 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.5056, allocations: 53.03 kB / 463.3 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006629/0.5063, allocations: 191.5 kB / 463.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.5063, allocations: 11.11 kB / 463.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003243/0.5066, allocations: 0.5519 MB / 464.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5066, allocations: 2.562 kB / 464.1 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.507, allocations: 312.8 kB / 464.4 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.507, allocations: 41.06 kB / 464.4 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.5071, allocations: 11.84 kB / 464.4 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.5072, allocations: 18.89 kB / 464.5 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.5073, allocations: 32.06 kB / 464.5 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.5073, allocations: 11.7 kB / 464.5 MB, free: 10.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.5074, allocations: 160.3 kB / 464.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5074, allocations: 0 / 464.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000608/0.5081, allocations: 226.4 kB / 464.9 MB, free: 10.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * 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.0006041/0.5087, allocations: 300.5 kB / 465.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005226/0.5092, allocations: 193.4 kB / 465.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.5092, allocations: 5 kB / 465.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.5094, allocations: 100.6 kB / 465.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/0.5101, allocations: 281.5 kB / 465.7 MB, free: 10.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.5117, allocations: 0.836 MB / 466.6 MB, free: 9.859 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.868e-05/0.5118, allocations: 119.4 kB / 466.7 MB, free: 9.789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00047/0.5122, allocations: 155.1 kB / 466.9 MB, free: 9.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005795/0.5128, allocations: 273.4 kB / 467.1 MB, free: 9.715 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/0.5128, allocations: 0.9688 kB / 467.1 MB, free: 9.715 MB / 410.7 MB Notification: Performance of Templates: time 0.01667/0.5295, allocations: 14.1 MB / 481.2 MB, free: 8.273 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.754977945704013]