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.001025/0.001025, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001119/0.001119, allocations: 166.1 kB / 24.84 MB, free: 9.246 MB / 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.8736/0.8736, allocations: 158.6 MB / 186.7 MB, free: 2.781 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.1811/0.1811, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.583e-06/1.583e-06, allocations: 0 / 348.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.585e-05, allocations: 2.312 kB / 348.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3114/0.3114, allocations: 144.1 MB / 493 MB, free: 9.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.3145, allocations: 2.019 MB / 495.1 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004774/0.315, allocations: 19.81 kB / 495.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.3155, allocations: 162.3 kB / 495.2 MB, free: 9.195 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.3177, allocations: 1.064 MB / 496.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3187, allocations: 0.5337 MB / 496.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.3205, allocations: 1.467 MB / 498.3 MB, free: 8.062 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007888/0.3213, allocations: 365.4 kB / 498.7 MB, free: 7.988 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.3224, allocations: 0.7351 MB / 499.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000601/0.323, allocations: 401.4 kB / 499.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.3231, allocations: 53.28 kB / 499.8 MB, free: 7.543 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.3246, allocations: 0.6292 MB / 0.4887 GB, free: 7.273 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.3247, allocations: 159.8 kB / 0.4889 GB, free: 7.164 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.3249, allocations: 232.8 kB / 0.4891 GB, free: 7.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.3264, allocations: 0.9888 MB / 0.4901 GB, free: 6.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3264, allocations: 0 / 0.4901 GB, free: 6.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3264, allocations: 0 / 0.4901 GB, free: 6.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.3264, allocations: 0 / 0.4901 GB, free: 6.543 MB / 362.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.001319/0.3277, allocations: 1.026 MB / 0.4911 GB, free: 5.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3278, allocations: 15.31 kB / 0.4911 GB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000599/0.3284, allocations: 207.2 kB / 0.4913 GB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.3289, allocations: 421.1 kB / 0.4917 GB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.3289, allocations: 30.31 kB / 0.4917 GB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.3289, allocations: 46.59 kB / 0.4918 GB, free: 5.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.3295, allocations: 0.745 MB / 0.4925 GB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3295, allocations: 0 / 0.4925 GB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.3296, allocations: 17.72 kB / 0.4925 GB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3296, allocations: 10.66 kB / 0.4925 GB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.3298, allocations: 201.7 kB / 0.4927 GB, free: 4.535 MB / 362.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.001507/0.3313, allocations: 2.17 MB / 0.4948 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.3316, allocations: 154.3 kB / 0.495 GB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/0.3317, allocations: 66.31 kB / 0.495 GB, free: 2.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003582/0.332, allocations: 282.5 kB / 0.4953 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.332, allocations: 43.95 kB / 0.4953 GB, free: 2.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.332, allocations: 4 kB / 0.4954 GB, free: 2.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001042/0.3331, allocations: 433.8 kB / 0.4958 GB, free: 2.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.3331, allocations: 135.4 kB / 0.4959 GB, free: 2.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3333, allocations: 406.7 kB / 0.4963 GB, free: 1.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.3334, allocations: 33.7 kB / 0.4963 GB, free: 1.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3335, allocations: 331.2 kB / 0.4966 GB, free: 1.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.3335, allocations: 115.5 kB / 0.4967 GB, free: 1.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3336, allocations: 109.8 kB / 0.4968 GB, free: 1.348 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.3337, allocations: 0.5249 MB / 0.4974 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/0.3338, allocations: 58.3 kB / 0.4974 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.3339, allocations: 313.8 kB / 0.4977 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.3342, allocations: 292 kB / 0.498 GB, free: 260 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3342, allocations: 2.562 kB / 0.498 GB, free: 260 kB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004212/0.3346, allocations: 366.5 kB / 0.4983 GB, free: 84 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3346, allocations: 9.25 kB / 0.4984 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3346, allocations: 2.375 kB / 0.4984 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008098/0.3354, allocations: 215.3 kB / 0.4986 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.3356, allocations: 102.1 kB / 0.4987 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004947/0.3361, allocations: 0.8281 MB / 0.4995 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3363, allocations: 55.61 kB / 0.4995 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.3364, allocations: 39.98 kB / 0.4996 GB, free: 15 MB / 378.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.0001471/0.3365, allocations: 177.7 kB / 0.4997 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.709e-05/0.3366, allocations: 59.66 kB / 0.4998 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000685/0.3373, allocations: 0.543 MB / 0.5003 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3373, allocations: 4 kB / 0.5003 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.3373, allocations: 0 / 0.5003 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3373, allocations: 0 / 0.5003 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008112/0.3381, allocations: 0.7257 MB / 0.501 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3381, allocations: 3.625 kB / 0.501 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.3382, allocations: 47.97 kB / 0.5011 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000653/0.3389, allocations: 199.3 kB / 0.5013 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.3389, allocations: 11.98 kB / 0.5013 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004916/0.3394, allocations: 0.8299 MB / 0.5021 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3394, allocations: 4 kB / 0.5021 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.3398, allocations: 442.5 kB / 0.5025 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.3399, allocations: 48.88 kB / 0.5026 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.3399, allocations: 11.95 kB / 0.5026 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.3401, allocations: 16.03 kB / 0.5026 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.3401, allocations: 27.88 kB / 0.5026 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.3402, allocations: 19.98 kB / 0.5026 GB, free: 11.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.3403, allocations: 277.2 kB / 0.5029 GB, free: 11.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3403, allocations: 0 / 0.5029 GB, free: 11.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006135/0.3409, allocations: 231.5 kB / 0.5031 GB, free: 11.27 MB / 378.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.0005679/0.3415, allocations: 314.8 kB / 0.5034 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005387/0.342, allocations: 221.3 kB / 0.5036 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.342, allocations: 4 kB / 0.5036 GB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.3423, allocations: 99.67 kB / 0.5037 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007629/0.3431, allocations: 301.6 kB / 0.504 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3444, allocations: 0.8505 MB / 0.5048 GB, free: 9.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.569e-05/0.3445, allocations: 121.8 kB / 0.505 GB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004038/0.3449, allocations: 150.5 kB / 0.5051 GB, free: 9.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/0.3454, allocations: 329.9 kB / 0.5054 GB, free: 8.867 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3454, allocations: 0 / 0.5054 GB, free: 8.867 MB / 378.7 MB Notification: Performance of Templates: time 0.01877/0.3642, allocations: 14.38 MB / 0.5195 GB, free: 10.61 MB / 394.7 MB " [Timeout remaining time 660] 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: 3.8718358878977597]