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.001491/0.001491, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.00173/0.00173, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.58/1.58, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2457/0.2457, allocations: 46.94 MB / 361.5 MB, free: 3.914 MB / 286.1 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.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_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.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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003762/0.003762, allocations: 79.88 kB / 0.4974 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3856, allocations: 66.09 MB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2357/0.6212, allocations: 161.5 MB / 0.7196 GB, free: 1.855 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006171/0.6274, allocations: 2.04 MB / 0.7216 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000946/0.6283, allocations: 19.81 kB / 0.7217 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.6298, allocations: 294 kB / 0.7219 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005385/0.6352, allocations: 1.197 MB / 0.7231 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003021/0.6382, allocations: 0.6953 MB / 0.7238 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002544/0.6408, allocations: 1.496 MB / 0.7252 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008316/0.6416, allocations: 367.8 kB / 0.7256 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.6432, allocations: 0.5838 MB / 0.7262 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009699/0.6441, allocations: 438.2 kB / 0.7266 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.6444, allocations: 48 kB / 0.7266 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.6464, allocations: 0.6787 MB / 0.7273 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.6467, allocations: 151.4 kB / 0.7274 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005712/0.6473, allocations: 278.8 kB / 0.7277 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.6499, allocations: 1.211 MB / 0.7289 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.6499, allocations: 0 / 0.7289 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6499, allocations: 0 / 0.7289 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.023e-05/0.65, allocations: 0 / 0.7289 GB, free: 8.371 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.002477/0.6524, allocations: 0.9286 MB / 0.7298 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.6525, allocations: 8.031 kB / 0.7298 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.6536, allocations: 143.5 kB / 0.7299 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.6547, allocations: 397.6 kB / 0.7303 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.6547, allocations: 33 kB / 0.7304 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.6548, allocations: 39.94 kB / 0.7304 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.6562, allocations: 0.8566 MB / 0.7312 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6562, allocations: 0 / 0.7312 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/0.6563, allocations: 16 kB / 0.7312 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.6563, allocations: 15.98 kB / 0.7313 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009623/0.6573, allocations: 399.6 kB / 0.7316 GB, free: 5.383 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.002924/0.6602, allocations: 1.802 MB / 0.7334 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/0.6609, allocations: 286.8 kB / 0.7337 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.6612, allocations: 128.8 kB / 0.7338 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.6614, allocations: 47.95 kB / 0.7338 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.6614, allocations: 34.56 kB / 0.7339 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.194e-06/0.6614, allocations: 0 / 0.7339 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002448/0.6639, allocations: 0.6267 MB / 0.7345 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.664, allocations: 132.5 kB / 0.7346 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.6644, allocations: 381.6 kB / 0.735 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.6645, allocations: 29.7 kB / 0.735 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.6647, allocations: 288.3 kB / 0.7353 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.6648, allocations: 107.1 kB / 0.7354 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.665, allocations: 113.6 kB / 0.7355 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.6652, allocations: 350.8 kB / 0.7358 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.6656, allocations: 139.9 kB / 0.736 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/0.6662, allocations: 356.3 kB / 0.7363 GB, free: 388 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2871/0.9533, allocations: 418.7 kB / 0.7367 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.9533, allocations: 1.062 kB / 0.7367 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001765/0.9551, allocations: 0.5253 MB / 0.7372 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.9551, allocations: 6.188 kB / 0.7372 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.9551, allocations: 3.719 kB / 0.7372 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/0.9574, allocations: 269.2 kB / 0.7375 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/0.958, allocations: 108.1 kB / 0.7376 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009135/0.9589, allocations: 0.6045 MB / 0.7382 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.9593, allocations: 39.23 kB / 0.7382 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.9594, allocations: 47.08 kB / 0.7383 GB, free: 175.2 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.0003745/0.9598, allocations: 183.7 kB / 0.7384 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.9599, allocations: 49.2 kB / 0.7385 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.9624, allocations: 1.024 MB / 0.7395 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.9624, allocations: 3.562 kB / 0.7395 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9624, allocations: 0 / 0.7395 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.9624, allocations: 4.547 kB / 0.7395 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.9639, allocations: 0.8356 MB / 0.7403 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.9639, allocations: 3.969 kB / 0.7403 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.9642, allocations: 45.73 kB / 0.7403 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.9657, allocations: 258.6 kB / 0.7406 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.9658, allocations: 15.42 kB / 0.7406 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006838/0.9664, allocations: 0.599 MB / 0.7412 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.9665, allocations: 3.719 kB / 0.7412 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.9675, allocations: 0.4953 MB / 0.7417 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.9676, allocations: 44.44 kB / 0.7417 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.9677, allocations: 10.25 kB / 0.7417 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.968, allocations: 18.03 kB / 0.7417 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.9681, allocations: 25.52 kB / 0.7418 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.9681, allocations: 26.31 kB / 0.7418 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000287/0.9684, allocations: 299.9 kB / 0.7421 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9684, allocations: 0 / 0.7421 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007152/0.9691, allocations: 234.3 kB / 0.7423 GB, free: 173.2 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.0005324/0.9697, allocations: 290.4 kB / 0.7426 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.9708, allocations: 356 kB / 0.7429 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9708, allocations: 3.625 kB / 0.7429 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006561/0.9715, allocations: 154.5 kB / 0.7431 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.9727, allocations: 278.7 kB / 0.7433 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.9744, allocations: 0.9252 MB / 0.7442 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.9746, allocations: 246 kB / 0.7445 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.9749, allocations: 123.2 kB / 0.7446 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.9749, allocations: 4 kB / 0.7446 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.01323/0.9881, allocations: 12.6 MB / 0.7569 GB, free: 158.6 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 10.780073698144406]