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.0008921/0.0008921, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009794/0.0009794, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9327/0.9327, allocations: 177.2 MB / 205 MB, free: 5.59 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.2386/0.2386, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.703e-06/1.703e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.452e-05, allocations: 6.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2909/0.291, allocations: 148.6 MB / 0.5143 GB, free: 15.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.2938, allocations: 2.018 MB / 0.5163 GB, free: 14.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.2941, allocations: 20 kB / 0.5163 GB, free: 14.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.2947, allocations: 165.3 kB / 0.5165 GB, free: 14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.2966, allocations: 1.007 MB / 0.5174 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008307/0.2974, allocations: 0.5464 MB / 0.518 GB, free: 13.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009942/0.2984, allocations: 1.479 MB / 0.5194 GB, free: 12.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.2988, allocations: 368.5 kB / 0.5198 GB, free: 12.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005869/0.2994, allocations: 0.7406 MB / 0.5205 GB, free: 11.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.2998, allocations: 397.2 kB / 0.5209 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.2998, allocations: 48.38 kB / 0.5209 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006723/0.3005, allocations: 0.5985 MB / 0.5215 GB, free: 11.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3006, allocations: 168.7 kB / 0.5217 GB, free: 11.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.3008, allocations: 227.1 kB / 0.5219 GB, free: 11.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008275/0.3016, allocations: 0.9818 MB / 0.5228 GB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3016, allocations: 0 / 0.5228 GB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3016, allocations: 0 / 0.5228 GB, free: 11.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.3016, allocations: 0 / 0.5228 GB, free: 11.12 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.001011/0.3026, allocations: 1.012 MB / 0.5238 GB, free: 10.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3027, allocations: 8.562 kB / 0.5238 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/0.3032, allocations: 214.7 kB / 0.524 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.3036, allocations: 418 kB / 0.5244 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3036, allocations: 35 kB / 0.5245 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.3037, allocations: 44.69 kB / 0.5245 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.3042, allocations: 0.7736 MB / 0.5253 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3042, allocations: 0 / 0.5253 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.3043, allocations: 17.66 kB / 0.5253 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3043, allocations: 11.38 kB / 0.5253 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.3046, allocations: 242 kB / 0.5255 GB, free: 9.328 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.001284/0.3059, allocations: 2.213 MB / 0.5277 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.3062, allocations: 191.6 kB / 0.5279 GB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.3063, allocations: 74.98 kB / 0.528 GB, free: 7.453 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.3064, allocations: 45.59 kB / 0.528 GB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.3064, allocations: 42.59 kB / 0.528 GB, free: 7.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.3064, allocations: 3.938 kB / 0.528 GB, free: 7.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.00105/0.3075, allocations: 466.8 kB / 0.5285 GB, free: 7.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.3075, allocations: 134.2 kB / 0.5286 GB, free: 7.109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.3077, allocations: 409.3 kB / 0.529 GB, free: 6.863 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.3077, allocations: 36.33 kB / 0.529 GB, free: 6.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3078, allocations: 328 kB / 0.5293 GB, free: 6.551 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.3079, allocations: 112.2 kB / 0.5295 GB, free: 6.461 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.308, allocations: 108.6 kB / 0.5296 GB, free: 6.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.504e-05/0.3081, allocations: 0.5251 MB / 0.5301 GB, free: 5.898 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.3082, allocations: 69.73 kB / 0.5301 GB, free: 5.887 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.3084, allocations: 324.6 kB / 0.5304 GB, free: 5.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.3086, allocations: 318.9 kB / 0.5308 GB, free: 5.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3087, allocations: 3.406 kB / 0.5308 GB, free: 5.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004575/0.3091, allocations: 403.7 kB / 0.5311 GB, free: 5.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.3091, allocations: 5.719 kB / 0.5311 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3091, allocations: 6.281 kB / 0.5312 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007943/0.3099, allocations: 217.5 kB / 0.5314 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.3101, allocations: 100.8 kB / 0.5315 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00037/0.3105, allocations: 0.8382 MB / 0.5323 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.3106, allocations: 33.95 kB / 0.5323 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.3107, allocations: 48.61 kB / 0.5324 GB, free: 4.293 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.000114/0.3108, allocations: 180.5 kB / 0.5325 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/0.3109, allocations: 60.28 kB / 0.5326 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008851/0.3118, allocations: 0.9162 MB / 0.5335 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3118, allocations: 2.812 kB / 0.5335 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3118, allocations: 2.969 kB / 0.5335 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3118, allocations: 2.438 kB / 0.5335 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/0.3125, allocations: 0.8104 MB / 0.5343 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3125, allocations: 3 kB / 0.5343 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.3127, allocations: 47.45 kB / 0.5343 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006462/0.3133, allocations: 197.9 kB / 0.5345 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3133, allocations: 11.86 kB / 0.5345 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003353/0.3137, allocations: 0.8526 MB / 0.5354 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3137, allocations: 0 / 0.5354 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.314, allocations: 461.1 kB / 0.5358 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.3141, allocations: 42.91 kB / 0.5358 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.3141, allocations: 5.656 kB / 0.5358 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3143, allocations: 18.03 kB / 0.5359 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.3143, allocations: 28.58 kB / 0.5359 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.3143, allocations: 26.7 kB / 0.5359 GB, free: 1.996 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.3145, allocations: 295.3 kB / 0.5362 GB, free: 1.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3145, allocations: 0 / 0.5362 GB, free: 1.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000412/0.3149, allocations: 229 kB / 0.5364 GB, free: 1.789 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.0003489/0.3153, allocations: 269.7 kB / 0.5367 GB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005466/0.3158, allocations: 246.8 kB / 0.5369 GB, free: 1.598 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3158, allocations: 3.344 kB / 0.5369 GB, free: 1.598 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.316, allocations: 110.6 kB / 0.537 GB, free: 1.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.3167, allocations: 292 kB / 0.5373 GB, free: 1.504 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3179, allocations: 0.8423 MB / 0.5381 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.868e-05/0.3179, allocations: 117.6 kB / 0.5382 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004695/0.3184, allocations: 483.3 kB / 0.5387 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.3186, allocations: 87.17 kB / 0.5388 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3186, allocations: 0 / 0.5388 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of Templates: time 0.01477/0.3333, allocations: 14.03 MB / 0.5525 GB, free: 6.738 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: 3.601640564855188]