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.001446/0.001446, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001535/0.001535, allocations: 169 kB / 24.24 MB, free: 312 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.9531/0.9531, allocations: 158.6 MB / 186 MB, free: 2.91 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.1608/0.1608, allocations: 32.38 MB / 270.7 MB, free: 14.76 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 1.804e-06/1.804e-06, allocations: 0 / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.341e-05, allocations: 13.28 kB / 347.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4782/0.4783, allocations: 183.6 MB / 0.5189 GB, free: 12.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005113/0.4834, allocations: 2.128 MB / 0.521 GB, free: 10.08 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009869/0.4844, allocations: 19.81 kB / 0.521 GB, free: 10.06 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.4856, allocations: 289.9 kB / 0.5213 GB, free: 9.773 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004945/0.4905, allocations: 1.457 MB / 0.5227 GB, free: 8.309 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.4927, allocations: 0.701 MB / 0.5234 GB, free: 7.605 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002591/0.4953, allocations: 1.499 MB / 0.5248 GB, free: 6.098 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007712/0.496, allocations: 368 kB / 0.5252 GB, free: 5.734 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.4974, allocations: 0.7791 MB / 0.5259 GB, free: 4.953 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005433/0.4979, allocations: 386.8 kB / 0.5263 GB, free: 4.574 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.512e-05/0.498, allocations: 48 kB / 0.5264 GB, free: 4.527 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.5005, allocations: 0.885 MB / 0.5272 GB, free: 3.641 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.5008, allocations: 163.4 kB / 0.5274 GB, free: 3.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.5011, allocations: 239.5 kB / 0.5276 GB, free: 3.246 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.5036, allocations: 1.188 MB / 0.5288 GB, free: 2.055 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.5036, allocations: 0 / 0.5288 GB, free: 2.055 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.5036, allocations: 0 / 0.5288 GB, free: 2.055 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.5036, allocations: 0 / 0.5288 GB, free: 2.055 MB / 394.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.00192/0.5056, allocations: 1.075 MB / 0.5298 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.135e-05/0.5056, allocations: 8.031 kB / 0.5298 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008896/0.5065, allocations: 219 kB / 0.53 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007407/0.5073, allocations: 429 kB / 0.5304 GB, free: 276 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.5073, allocations: 29 kB / 0.5305 GB, free: 244 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.381e-05/0.5074, allocations: 51.98 kB / 0.5305 GB, free: 192 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.5084, allocations: 0.7945 MB / 0.5313 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.5084, allocations: 4 kB / 0.5313 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.5085, allocations: 20 kB / 0.5313 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.5085, allocations: 12 kB / 0.5313 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.5089, allocations: 241.6 kB / 0.5316 GB, free: 14.99 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.002952/0.5119, allocations: 2.235 MB / 0.5337 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.5125, allocations: 171.4 kB / 0.5339 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.5127, allocations: 79.62 kB / 0.534 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.5137, allocations: 406.1 kB / 0.5344 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.247e-05/0.5138, allocations: 45.39 kB / 0.5344 GB, free: 11.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.857e-06/0.5138, allocations: 0 / 0.5344 GB, free: 11.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.002252/0.516, allocations: 461.4 kB / 0.5349 GB, free: 11.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.5161, allocations: 132.5 kB / 0.535 GB, free: 11.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/0.5167, allocations: 414.6 kB / 0.5354 GB, free: 10.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.5168, allocations: 29.7 kB / 0.5354 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.517, allocations: 335 kB / 0.5357 GB, free: 10.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.5172, allocations: 111 kB / 0.5358 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.5173, allocations: 111.3 kB / 0.5359 GB, free: 10.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.5176, allocations: 0.5235 MB / 0.5364 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.5178, allocations: 67.94 kB / 0.5365 GB, free: 9.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.5182, allocations: 319.4 kB / 0.5368 GB, free: 9.316 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.5188, allocations: 320.1 kB / 0.5371 GB, free: 8.941 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.5188, allocations: 0 / 0.5371 GB, free: 8.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009522/0.5198, allocations: 400.6 kB / 0.5375 GB, free: 8.539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.5198, allocations: 6.656 kB / 0.5375 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5198, allocations: 4 kB / 0.5375 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/0.5214, allocations: 219.8 kB / 0.5377 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.5218, allocations: 99.81 kB / 0.5378 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009153/0.5227, allocations: 0.842 MB / 0.5386 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.5231, allocations: 35.73 kB / 0.5387 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/0.5232, allocations: 52 kB / 0.5387 GB, free: 7.258 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.0002617/0.5234, allocations: 176.5 kB / 0.5389 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5235, allocations: 55.7 kB / 0.5389 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009827/0.5245, allocations: 0.5697 MB / 0.5395 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5245, allocations: 0 / 0.5395 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.5245, allocations: 4 kB / 0.5395 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.5246, allocations: 0 / 0.5395 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009869/0.5255, allocations: 0.7598 MB / 0.5402 GB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5255, allocations: 0 / 0.5402 GB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.5257, allocations: 47.91 kB / 0.5403 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007595/0.5264, allocations: 211.5 kB / 0.5405 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.5265, allocations: 11.98 kB / 0.5405 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000535/0.527, allocations: 0.8311 MB / 0.5413 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.527, allocations: 4 kB / 0.5413 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.5276, allocations: 463.7 kB / 0.5418 GB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.5276, allocations: 43.64 kB / 0.5418 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.5277, allocations: 15.95 kB / 0.5418 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.5278, allocations: 7.984 kB / 0.5418 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.5279, allocations: 27.95 kB / 0.5419 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.5279, allocations: 15.98 kB / 0.5419 GB, free: 3.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002332/0.5282, allocations: 307 kB / 0.5422 GB, free: 3.555 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5282, allocations: 0 / 0.5422 GB, free: 3.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008115/0.529, allocations: 267.4 kB / 0.5424 GB, free: 3.293 MB / 410.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 (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.0008536/0.5298, allocations: 396.9 kB / 0.5428 GB, free: 2.902 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007251/0.5306, allocations: 240.9 kB / 0.543 GB, free: 2.664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5306, allocations: 0 / 0.543 GB, free: 2.664 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.5309, allocations: 112.5 kB / 0.5431 GB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008077/0.5317, allocations: 296.9 kB / 0.5434 GB, free: 2.273 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.5332, allocations: 0.8387 MB / 0.5442 GB, free: 1.383 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.4e-05/0.5333, allocations: 117.8 kB / 0.5443 GB, free: 1.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003857/0.5337, allocations: 179.5 kB / 0.5445 GB, free: 1.078 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.5339, allocations: 68.47 kB / 0.5446 GB, free: 1.012 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5339, allocations: 4 kB / 0.5446 GB, free: 1.008 MB / 410.7 MB Notification: Performance of Templates: time 0.01632/0.5502, allocations: 13.73 MB / 0.558 GB, free: 3.363 MB / 426.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 -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: 4.337903071893379]