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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000787/0.000787, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001891, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007243/0.0007243, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008751/0.001599, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9994/0.9994, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0867/1.086, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2588/0.2588, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02098/0.2797, allocations: 13.24 MB / 292.6 MB, free: 6.457 MB / 282.7 MB " [Timeout remaining time 180] 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=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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.796e-05, allocations: 2.312 kB / 293.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.1278/0.1278, allocations: 148.4 MB / 442.3 MB, free: 204 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1617/0.2896, allocations: 2.079 MB / 444.4 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.2899, allocations: 18.56 kB / 444.4 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.2902, allocations: 168.1 kB / 444.5 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.2918, allocations: 0.9899 MB / 445.5 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.2925, allocations: 0.5321 MB / 446.1 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.2937, allocations: 1.479 MB / 447.5 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.2942, allocations: 360.7 kB / 447.9 MB, free: 3.535 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008033/0.295, allocations: 0.7895 MB / 448.7 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.2953, allocations: 384.8 kB / 449.1 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.58e-05/0.2954, allocations: 50.69 kB / 449.1 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008126/0.2962, allocations: 0.6419 MB / 449.7 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.715e-05/0.2963, allocations: 120.6 kB / 449.9 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.2965, allocations: 202.3 kB / 450.1 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007487/0.2972, allocations: 0.8501 MB / 450.9 MB, free: 3.434 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.2972, allocations: 2.719 kB / 450.9 MB, free: 3.434 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2972, allocations: 0 / 450.9 MB, free: 3.434 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.2973, allocations: 0.9062 kB / 450.9 MB, free: 3.434 MB / 426.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.001183/0.2984, allocations: 1.124 MB / 452 MB, free: 18.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.707e-05/0.2985, allocations: 13.11 kB / 452.1 MB, free: 18.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/0.299, allocations: 216.3 kB / 452.3 MB, free: 18.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.2993, allocations: 347.8 kB / 452.6 MB, free: 18.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2994, allocations: 33.78 kB / 452.6 MB, free: 18.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.2994, allocations: 43.03 kB / 452.7 MB, free: 18.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.2999, allocations: 0.7304 MB / 453.4 MB, free: 18.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2999, allocations: 0.9844 kB / 453.4 MB, free: 18.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.2999, allocations: 20.09 kB / 453.4 MB, free: 18.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2999, allocations: 12.22 kB / 453.4 MB, free: 18.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.3001, allocations: 185.7 kB / 453.6 MB, free: 18.1 MB / 442.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.001139/0.3013, allocations: 1.525 MB / 455.1 MB, free: 17.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3015, allocations: 132.9 kB / 455.3 MB, free: 17.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.3015, allocations: 53.23 kB / 455.3 MB, free: 17.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.3017, allocations: 92.97 kB / 455.4 MB, free: 17.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3017, allocations: 41.44 kB / 455.5 MB, free: 17.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.3017, allocations: 0 / 455.5 MB, free: 17.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008382/0.3026, allocations: 356.9 kB / 455.8 MB, free: 16.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.3026, allocations: 60.3 kB / 455.9 MB, free: 16.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.3028, allocations: 342.4 kB / 456.2 MB, free: 16.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.3028, allocations: 31.95 kB / 456.2 MB, free: 16.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.3029, allocations: 246.9 kB / 456.5 MB, free: 16.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.3029, allocations: 107.3 kB / 456.6 MB, free: 16.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.84e-05/0.303, allocations: 97.12 kB / 456.7 MB, free: 16.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.3031, allocations: 357.7 kB / 457 MB, free: 16.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.3031, allocations: 47.39 kB / 457.1 MB, free: 16.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3033, allocations: 259 kB / 457.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.3035, allocations: 244.6 kB / 457.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3035, allocations: 3.406 kB / 457.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002895/0.3038, allocations: 264.1 kB / 457.8 MB, free: 15.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3038, allocations: 5.469 kB / 457.8 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3038, allocations: 4.594 kB / 457.8 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006959/0.3045, allocations: 210 kB / 458 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.3047, allocations: 125.8 kB / 458.2 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003696/0.3051, allocations: 0.5462 MB / 458.7 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.3052, allocations: 40.97 kB / 458.7 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.3053, allocations: 39.12 kB / 458.8 MB, free: 15.24 MB / 442.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.0001247/0.3054, allocations: 140 kB / 458.9 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.3054, allocations: 44.14 kB / 459 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/0.3063, allocations: 0.8239 MB / 459.8 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3063, allocations: 2.906 kB / 459.8 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.3063, allocations: 0 / 459.8 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3063, allocations: 3.562 kB / 459.8 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.3068, allocations: 0.5493 MB / 460.3 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3068, allocations: 4.25 kB / 460.3 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.307, allocations: 53.83 kB / 460.4 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.307, allocations: 36.52 kB / 460.4 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005545/0.3075, allocations: 193.1 kB / 460.6 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3076, allocations: 19.08 kB / 460.6 MB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003362/0.3079, allocations: 0.5472 MB / 461.2 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3079, allocations: 7.062 kB / 461.2 MB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.3081, allocations: 312.2 kB / 461.5 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.3082, allocations: 16.58 kB / 461.5 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.3083, allocations: 17.47 kB / 461.5 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3084, allocations: 24.53 kB / 461.6 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3084, allocations: 20.23 kB / 461.6 MB, free: 13.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.3085, allocations: 156.4 kB / 461.7 MB, free: 13.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3085, allocations: 0 / 461.7 MB, free: 13.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004413/0.3089, allocations: 237.8 kB / 462 MB, free: 13.92 MB / 442.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.0003705/0.3093, allocations: 274.9 kB / 462.2 MB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.3097, allocations: 200.7 kB / 462.4 MB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.3097, allocations: 10.64 kB / 462.4 MB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.3099, allocations: 90.89 kB / 462.5 MB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.3105, allocations: 337.6 kB / 462.9 MB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004817/0.3153, allocations: 0.8515 MB / 463.7 MB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.063e-05/0.3154, allocations: 122.7 kB / 463.8 MB, free: 13.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005564/0.316, allocations: 469.9 kB / 464.3 MB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/0.3164, allocations: 287.2 kB / 464.6 MB, free: 13.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.183e-06/0.3164, allocations: 0.7188 kB / 464.6 MB, free: 13.16 MB / 442.7 MB Notification: Performance of Templates: time 0.01535/0.3318, allocations: 14.66 MB / 479.2 MB, free: 11.73 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.422141993418336]