Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001202/0.001202, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.001145/0.001145, allocations: 168.2 kB / 24.82 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.056/1.056, allocations: 177.2 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3125/0.3125, allocations: 34.27 MB / 296.1 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.673e-05, allocations: 2.312 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3914/0.3914, allocations: 145.8 MB / 0.5121 GB, free: 16.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004444/0.3958, allocations: 2.007 MB / 0.514 GB, free: 15.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009334/0.3968, allocations: 24 kB / 0.514 GB, free: 15.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007094/0.3975, allocations: 160.7 kB / 0.5142 GB, free: 15.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.4011, allocations: 1.021 MB / 0.5152 GB, free: 14.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.4025, allocations: 0.5269 MB / 0.5157 GB, free: 14.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.4046, allocations: 1.484 MB / 0.5172 GB, free: 13.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007326/0.4053, allocations: 367.6 kB / 0.5175 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.4066, allocations: 0.741 MB / 0.5182 GB, free: 13.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.4072, allocations: 403.4 kB / 0.5186 GB, free: 13.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.4073, allocations: 47.44 kB / 0.5187 GB, free: 13.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.4088, allocations: 0.6001 MB / 0.5192 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.409, allocations: 162 kB / 0.5194 GB, free: 12.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.4093, allocations: 244.8 kB / 0.5196 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.4115, allocations: 0.9745 MB / 0.5206 GB, free: 12.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.4115, allocations: 0 / 0.5206 GB, free: 12.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.4115, allocations: 0 / 0.5206 GB, free: 12.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.4116, allocations: 0 / 0.5206 GB, free: 12.5 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.001663/0.4132, allocations: 1.017 MB / 0.5216 GB, free: 11.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.4133, allocations: 12.53 kB / 0.5216 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007045/0.414, allocations: 213.5 kB / 0.5218 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.4146, allocations: 409.7 kB / 0.5222 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.4146, allocations: 27.66 kB / 0.5222 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.4147, allocations: 46.09 kB / 0.5223 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/0.4154, allocations: 0.7548 MB / 0.523 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.4154, allocations: 0 / 0.523 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.4154, allocations: 17.97 kB / 0.523 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.4154, allocations: 11.06 kB / 0.523 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.4158, allocations: 205.2 kB / 0.5232 GB, free: 10.73 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.001863/0.4176, allocations: 2.139 MB / 0.5253 GB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.418, allocations: 169.6 kB / 0.5255 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.4181, allocations: 66.09 kB / 0.5255 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.4182, allocations: 65.52 kB / 0.5256 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.4183, allocations: 40.36 kB / 0.5256 GB, free: 8.859 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.4183, allocations: 0 / 0.5256 GB, free: 8.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001273/0.4195, allocations: 443.6 kB / 0.5261 GB, free: 8.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.4196, allocations: 131 kB / 0.5262 GB, free: 8.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.4199, allocations: 404.3 kB / 0.5266 GB, free: 8.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.4199, allocations: 29.7 kB / 0.5266 GB, free: 8.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.42, allocations: 336.7 kB / 0.5269 GB, free: 8.023 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.4201, allocations: 111.9 kB / 0.527 GB, free: 7.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.4202, allocations: 118 kB / 0.5271 GB, free: 7.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.4203, allocations: 0.5285 MB / 0.5276 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.4205, allocations: 55.52 kB / 0.5277 GB, free: 7.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.4206, allocations: 311.9 kB / 0.528 GB, free: 7.039 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.4209, allocations: 302.5 kB / 0.5283 GB, free: 6.809 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4209, allocations: 0 / 0.5283 GB, free: 6.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005225/0.4215, allocations: 376.1 kB / 0.5286 GB, free: 6.672 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.4215, allocations: 8.5 kB / 0.5287 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4215, allocations: 5.938 kB / 0.5287 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008576/0.4224, allocations: 216.9 kB / 0.5289 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.4226, allocations: 99 kB / 0.529 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004646/0.423, allocations: 0.8289 MB / 0.5298 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.4233, allocations: 36.94 kB / 0.5298 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.4233, allocations: 41.16 kB / 0.5298 GB, free: 5.801 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.0002158/0.4236, allocations: 189.5 kB / 0.53 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.4237, allocations: 56.34 kB / 0.5301 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.4247, allocations: 0.8967 MB / 0.531 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.4247, allocations: 2.469 kB / 0.531 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4247, allocations: 0 / 0.531 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.4248, allocations: 2.016 kB / 0.531 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.4257, allocations: 0.7316 MB / 0.5317 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4257, allocations: 2.969 kB / 0.5317 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.4258, allocations: 42.14 kB / 0.5317 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006544/0.4265, allocations: 203.5 kB / 0.5319 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.4265, allocations: 22.55 kB / 0.5319 GB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003908/0.4269, allocations: 0.8297 MB / 0.5327 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4269, allocations: 0 / 0.5327 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.4273, allocations: 444.9 kB / 0.5332 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.4274, allocations: 51.08 kB / 0.5332 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.4274, allocations: 6.891 kB / 0.5332 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.4276, allocations: 22.34 kB / 0.5332 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.4276, allocations: 30.94 kB / 0.5333 GB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.4277, allocations: 18.59 kB / 0.5333 GB, free: 3.559 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.4278, allocations: 282.6 kB / 0.5336 GB, free: 3.406 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4278, allocations: 0 / 0.5336 GB, free: 3.406 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007457/0.4286, allocations: 226 kB / 0.5338 GB, free: 3.359 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.0004889/0.4291, allocations: 278.1 kB / 0.534 GB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005846/0.4297, allocations: 219.2 kB / 0.5343 GB, free: 3.176 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4297, allocations: 7.031 kB / 0.5343 GB, free: 3.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.4299, allocations: 105 kB / 0.5344 GB, free: 3.141 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000782/0.4307, allocations: 286.1 kB / 0.5346 GB, free: 3.074 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.4322, allocations: 0.8454 MB / 0.5355 GB, free: 2.543 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.726e-05/0.4323, allocations: 116.2 kB / 0.5356 GB, free: 2.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006725/0.433, allocations: 473.6 kB / 0.536 GB, free: 2.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/0.4335, allocations: 347.3 kB / 0.5363 GB, free: 2.305 MB / 410.7 MB Notification: Performance of SimCode: time 1.804e-06/0.4335, allocations: 0 / 0.5363 GB, free: 2.305 MB / 410.7 MB Notification: Performance of Templates: time 0.02099/0.4545, allocations: 14.05 MB / 0.5501 GB, free: 8.852 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.079587423242629]