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.001758/0.001758, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002644/0.002644, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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.503/1.503, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2334/0.2334, allocations: 46.97 MB / 361.6 MB, free: 4.016 MB / 286.1 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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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 0.001997/0.001997, allocations: 67.84 kB / 0.4973 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4089, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2194/0.6283, allocations: 161.5 MB / 0.7196 GB, free: 2.035 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004603/0.6329, allocations: 2.03 MB / 0.7215 GB, free: 0 / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007076/0.6337, allocations: 19.92 kB / 0.7216 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009525/0.6346, allocations: 290 kB / 0.7218 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003418/0.638, allocations: 1.199 MB / 0.723 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.6399, allocations: 0.6929 MB / 0.7237 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00214/0.6421, allocations: 1.511 MB / 0.7252 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006265/0.6427, allocations: 359.8 kB / 0.7255 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.6438, allocations: 0.5878 MB / 0.7261 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006345/0.6444, allocations: 458.1 kB / 0.7265 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.058e-05/0.6445, allocations: 48 kB / 0.7266 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.6462, allocations: 0.7139 MB / 0.7273 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.6464, allocations: 151.4 kB / 0.7274 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.6468, allocations: 278.9 kB / 0.7277 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.6487, allocations: 1.203 MB / 0.7288 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.6487, allocations: 0 / 0.7288 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6487, allocations: 0 / 0.7288 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.6488, allocations: 0 / 0.7288 GB, free: 8.504 MB / 0.5606 GB 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.002119/0.6509, allocations: 0.9286 MB / 0.7298 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.6509, allocations: 12.03 kB / 0.7298 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.652, allocations: 139.5 kB / 0.7299 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008651/0.6528, allocations: 397.7 kB / 0.7303 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.6529, allocations: 29 kB / 0.7303 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.6529, allocations: 43.98 kB / 0.7303 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.6542, allocations: 0.8605 MB / 0.7312 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.6542, allocations: 0 / 0.7312 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.6543, allocations: 20 kB / 0.7312 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.6543, allocations: 15.94 kB / 0.7312 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008827/0.6552, allocations: 403.6 kB / 0.7316 GB, free: 5.5 MB / 0.5606 GB 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.00289/0.6581, allocations: 1.798 MB / 0.7334 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.6588, allocations: 278.8 kB / 0.7336 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.6591, allocations: 136.8 kB / 0.7338 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.6593, allocations: 43.97 kB / 0.7338 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.6593, allocations: 34.56 kB / 0.7338 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.6593, allocations: 4 kB / 0.7338 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002586/0.6619, allocations: 0.6189 MB / 0.7344 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/0.662, allocations: 132.5 kB / 0.7346 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.6625, allocations: 385.6 kB / 0.7349 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.6625, allocations: 33.7 kB / 0.735 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.6627, allocations: 284.3 kB / 0.7352 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.6629, allocations: 111.1 kB / 0.7353 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.6631, allocations: 109.6 kB / 0.7354 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6633, allocations: 346.8 kB / 0.7358 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.6637, allocations: 143.9 kB / 0.7359 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.6642, allocations: 356.3 kB / 0.7363 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/0.6651, allocations: 429.5 kB / 0.7367 GB, free: 40 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.6651, allocations: 4 kB / 0.7367 GB, free: 36 kB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.354/1.019, allocations: 0.5127 MB / 0.7372 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/1.019, allocations: 6.562 kB / 0.7372 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.019, allocations: 3.438 kB / 0.7372 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/1.022, allocations: 269.8 kB / 0.7374 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/1.022, allocations: 104.5 kB / 0.7375 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/1.023, allocations: 0.6008 MB / 0.7381 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/1.024, allocations: 46.16 kB / 0.7382 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.024, allocations: 48.25 kB / 0.7382 GB, free: 175.5 MB / 0.5606 GB 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.0003461/1.024, allocations: 171.8 kB / 0.7384 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/1.024, allocations: 49.64 kB / 0.7384 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/1.027, allocations: 1.016 MB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.027, allocations: 7.219 kB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.027, allocations: 3.141 kB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.027, allocations: 5.156 kB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/1.029, allocations: 0.8226 MB / 0.7402 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.029, allocations: 3.969 kB / 0.7402 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/1.029, allocations: 54.92 kB / 0.7403 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/1.031, allocations: 254.9 kB / 0.7405 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.088e-05/1.031, allocations: 15.5 kB / 0.7406 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008237/1.032, allocations: 0.6009 MB / 0.7411 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.032, allocations: 7.031 kB / 0.7411 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/1.033, allocations: 0.494 MB / 0.7416 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/1.033, allocations: 43.83 kB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.513e-05/1.033, allocations: 21.47 kB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/1.033, allocations: 15.45 kB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/1.033, allocations: 30.59 kB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/1.033, allocations: 18.62 kB / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003424/1.034, allocations: 298.9 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.034, allocations: 2.906 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008264/1.035, allocations: 235 kB / 0.7423 GB, free: 173.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (23): * Single equations (assignments): 22 * 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.0005563/1.035, allocations: 282.8 kB / 0.7425 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001336/1.036, allocations: 363.2 kB / 0.7429 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.036, allocations: 0 / 0.7429 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007475/1.037, allocations: 154.7 kB / 0.743 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/1.038, allocations: 265.9 kB / 0.7433 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/1.04, allocations: 0.8947 MB / 0.7442 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/1.04, allocations: 251.9 kB / 0.7444 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000789/1.041, allocations: 0.5379 MB / 0.7449 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/1.041, allocations: 86.55 kB / 0.745 GB, free: 171 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/1.041, allocations: 0 / 0.745 GB, free: 171 MB / 0.5606 GB Notification: Performance of Templates: time 0.01804/1.06, allocations: 13.86 MB / 0.7585 GB, free: 157.4 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.351568284997484]