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.000796/0.000796, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.002217/0.002217, allocations: 173 kB / 24.06 MB, free: 456 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.8929/0.8929, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1449/0.1449, allocations: 32.38 MB / 270.7 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.803e-06/1.803e-06, allocations: 0 / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/3.005e-05, allocations: 9.344 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.32/0.3201, allocations: 144.1 MB / 492.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.3234, allocations: 2.011 MB / 494.3 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000658/0.3241, allocations: 22.41 kB / 494.3 MB, free: 9.336 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005517/0.3246, allocations: 164.7 kB / 494.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.3275, allocations: 1.063 MB / 495.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3287, allocations: 0.5406 MB / 496 MB, free: 8.547 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.3304, allocations: 1.474 MB / 497.5 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005648/0.331, allocations: 354.3 kB / 497.9 MB, free: 8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.3321, allocations: 0.7435 MB / 498.6 MB, free: 7.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005712/0.3326, allocations: 397.9 kB / 499 MB, free: 7.574 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.3327, allocations: 49.91 kB / 499 MB, free: 7.574 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.3341, allocations: 0.631 MB / 499.7 MB, free: 7.301 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.3343, allocations: 155.6 kB / 499.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.3345, allocations: 235.6 kB / 0.4883 GB, free: 7.102 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.3358, allocations: 0.9777 MB / 0.4893 GB, free: 6.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3358, allocations: 0 / 0.4893 GB, free: 6.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3358, allocations: 4 kB / 0.4893 GB, free: 6.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.3359, allocations: 3.156 kB / 0.4893 GB, free: 6.578 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.00137/0.3372, allocations: 1.027 MB / 0.4903 GB, free: 5.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3373, allocations: 11.5 kB / 0.4903 GB, free: 5.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.3379, allocations: 211.5 kB / 0.4905 GB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.3384, allocations: 416.5 kB / 0.4909 GB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3384, allocations: 29.91 kB / 0.4909 GB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.3384, allocations: 51 kB / 0.491 GB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.339, allocations: 0.7493 MB / 0.4917 GB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.339, allocations: 3.938 kB / 0.4917 GB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.339, allocations: 17.41 kB / 0.4917 GB, free: 4.637 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.339, allocations: 11.06 kB / 0.4918 GB, free: 4.637 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.3393, allocations: 197.6 kB / 0.4919 GB, free: 4.566 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.001527/0.3409, allocations: 2.163 MB / 0.4941 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.3411, allocations: 157.6 kB / 0.4942 GB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.3412, allocations: 74.88 kB / 0.4943 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004812/0.3417, allocations: 296 kB / 0.4946 GB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.3417, allocations: 44.33 kB / 0.4946 GB, free: 2.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.136e-06/0.3417, allocations: 0 / 0.4946 GB, free: 2.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001298/0.343, allocations: 438.1 kB / 0.495 GB, free: 2.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3431, allocations: 131.4 kB / 0.4951 GB, free: 2.098 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3433, allocations: 406.8 kB / 0.4955 GB, free: 1.855 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3433, allocations: 29.7 kB / 0.4956 GB, free: 1.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3434, allocations: 335.2 kB / 0.4959 GB, free: 1.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.3435, allocations: 112.1 kB / 0.496 GB, free: 1.441 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3436, allocations: 104.8 kB / 0.4961 GB, free: 1.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.394e-05/0.3437, allocations: 0.5238 MB / 0.4966 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.419e-05/0.3438, allocations: 61.34 kB / 0.4967 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.3439, allocations: 317.2 kB / 0.497 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.3442, allocations: 293.6 kB / 0.4972 GB, free: 288 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3442, allocations: 2.688 kB / 0.4972 GB, free: 288 kB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004414/0.3446, allocations: 366 kB / 0.4976 GB, free: 112 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3446, allocations: 5.656 kB / 0.4976 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3447, allocations: 4.906 kB / 0.4976 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008358/0.3455, allocations: 215.2 kB / 0.4978 GB, free: 0 / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.3457, allocations: 99.78 kB / 0.4979 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007226/0.3465, allocations: 0.8421 MB / 0.4987 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.3467, allocations: 31.78 kB / 0.4988 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/0.3468, allocations: 47.97 kB / 0.4988 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.0001789/0.3469, allocations: 176.5 kB / 0.499 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.347, allocations: 63.64 kB / 0.499 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007413/0.3478, allocations: 0.5469 MB / 0.4996 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3478, allocations: 0 / 0.4996 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3478, allocations: 0 / 0.4996 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3478, allocations: 7.984 kB / 0.4996 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009491/0.3487, allocations: 0.727 MB / 0.5003 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3487, allocations: 7.984 kB / 0.5003 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3489, allocations: 47.91 kB / 0.5003 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006308/0.3495, allocations: 191.6 kB / 0.5005 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.3495, allocations: 11.98 kB / 0.5005 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000591/0.3501, allocations: 0.8458 MB / 0.5014 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3501, allocations: 0 / 0.5014 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.3506, allocations: 444.3 kB / 0.5018 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.3507, allocations: 43.64 kB / 0.5018 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.3507, allocations: 15.94 kB / 0.5018 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.3509, allocations: 12 kB / 0.5018 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004533/0.3513, allocations: 27.98 kB / 0.5019 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.3513, allocations: 20.84 kB / 0.5019 GB, free: 11.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001994/0.3515, allocations: 276.6 kB / 0.5022 GB, free: 11.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3515, allocations: 0 / 0.5022 GB, free: 11.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007531/0.3523, allocations: 231.5 kB / 0.5024 GB, free: 11.25 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.0007624/0.3531, allocations: 319.6 kB / 0.5027 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000597/0.3537, allocations: 218.5 kB / 0.5029 GB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.3537, allocations: 4.875 kB / 0.5029 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.3539, allocations: 100.1 kB / 0.503 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.3547, allocations: 288.1 kB / 0.5033 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.3561, allocations: 0.85 MB / 0.5041 GB, free: 9.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.298e-05/0.3562, allocations: 121.8 kB / 0.5042 GB, free: 9.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003813/0.3566, allocations: 156 kB / 0.5044 GB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.3571, allocations: 333.9 kB / 0.5047 GB, free: 8.848 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3571, allocations: 0 / 0.5047 GB, free: 8.848 MB / 378.7 MB Notification: Performance of Templates: time 0.01791/0.375, allocations: 14.18 MB / 0.5185 GB, free: 10.78 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.7519548749551177]