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.001543/0.001543, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001714/0.001714, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.965/0.965, allocations: 177 MB / 204.8 MB, free: 5.617 MB / 186.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.272/0.272, allocations: 34.87 MB / 296.3 MB, free: 0.5273 MB / 266.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 2.194e-06/2.194e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.107e-05, allocations: 2.312 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2732/0.2733, allocations: 148.6 MB / 0.515 GB, free: 14.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.2756, allocations: 2.028 MB / 0.517 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.2758, allocations: 21.09 kB / 0.517 GB, free: 13.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.2763, allocations: 164.8 kB / 0.5172 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.2779, allocations: 1.016 MB / 0.5182 GB, free: 12.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.2786, allocations: 0.5368 MB / 0.5187 GB, free: 12.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009582/0.2796, allocations: 1.479 MB / 0.5201 GB, free: 11.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.2799, allocations: 362.3 kB / 0.5205 GB, free: 11.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005998/0.2805, allocations: 0.7453 MB / 0.5212 GB, free: 11.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.2809, allocations: 395.1 kB / 0.5216 GB, free: 11.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.281, allocations: 48.34 kB / 0.5216 GB, free: 11.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007145/0.2817, allocations: 0.6021 MB / 0.5222 GB, free: 11.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-05/0.2818, allocations: 165.9 kB / 0.5224 GB, free: 11.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.2819, allocations: 229.9 kB / 0.5226 GB, free: 10.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008434/0.2828, allocations: 0.976 MB / 0.5235 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2828, allocations: 0 / 0.5235 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2828, allocations: 0 / 0.5235 GB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.2828, allocations: 3.938 kB / 0.5235 GB, free: 10.56 MB / 410.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.001253/0.284, allocations: 1.012 MB / 0.5245 GB, free: 9.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2841, allocations: 8.906 kB / 0.5245 GB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007983/0.2849, allocations: 216.6 kB / 0.5248 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.2854, allocations: 412.7 kB / 0.5251 GB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.2854, allocations: 30.66 kB / 0.5252 GB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/0.2854, allocations: 50.47 kB / 0.5252 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.2861, allocations: 0.7719 MB / 0.526 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2862, allocations: 3.938 kB / 0.526 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.2862, allocations: 24.62 kB / 0.526 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.2862, allocations: 8.75 kB / 0.526 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.2867, allocations: 245.2 kB / 0.5262 GB, free: 8.766 MB / 410.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.001622/0.2883, allocations: 2.21 MB / 0.5284 GB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.2886, allocations: 179.3 kB / 0.5286 GB, free: 6.926 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.2888, allocations: 75.44 kB / 0.5286 GB, free: 6.902 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.2889, allocations: 47.44 kB / 0.5287 GB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2889, allocations: 39.95 kB / 0.5287 GB, free: 6.852 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.2889, allocations: 3.938 kB / 0.5287 GB, free: 6.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001339/0.2903, allocations: 472.9 kB / 0.5292 GB, free: 6.711 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.2903, allocations: 136.7 kB / 0.5293 GB, free: 6.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.2906, allocations: 410 kB / 0.5297 GB, free: 6.312 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.2906, allocations: 32.64 kB / 0.5297 GB, free: 6.277 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.2907, allocations: 324.9 kB / 0.53 GB, free: 6.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.2908, allocations: 112.8 kB / 0.5302 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.2909, allocations: 112.2 kB / 0.5303 GB, free: 5.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.291, allocations: 0.5295 MB / 0.5308 GB, free: 5.344 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.2911, allocations: 64.16 kB / 0.5308 GB, free: 5.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.2913, allocations: 334 kB / 0.5312 GB, free: 5.008 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.2917, allocations: 316.4 kB / 0.5315 GB, free: 4.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2917, allocations: 0 / 0.5315 GB, free: 4.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006196/0.2923, allocations: 401.1 kB / 0.5318 GB, free: 4.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2923, allocations: 6.312 kB / 0.5318 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2923, allocations: 6.672 kB / 0.5319 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.2934, allocations: 221.3 kB / 0.5321 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.2936, allocations: 99.11 kB / 0.5322 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004612/0.2941, allocations: 0.8358 MB / 0.533 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.2943, allocations: 41.06 kB / 0.533 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/0.2943, allocations: 48.44 kB / 0.5331 GB, free: 3.738 MB / 410.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.000134/0.2945, allocations: 181.4 kB / 0.5332 GB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.2946, allocations: 56.25 kB / 0.5333 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.2957, allocations: 0.9062 MB / 0.5342 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2957, allocations: 3 kB / 0.5342 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2957, allocations: 6.656 kB / 0.5342 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2957, allocations: 2.531 kB / 0.5342 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009095/0.2966, allocations: 0.8033 MB / 0.535 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2967, allocations: 2.688 kB / 0.535 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.2968, allocations: 51.97 kB / 0.535 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000801/0.2976, allocations: 193.9 kB / 0.5352 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.2976, allocations: 14.86 kB / 0.5352 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004027/0.298, allocations: 0.8457 MB / 0.536 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.298, allocations: 7.359 kB / 0.5361 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.2985, allocations: 457.3 kB / 0.5365 GB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.2985, allocations: 48.11 kB / 0.5365 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.2986, allocations: 7.062 kB / 0.5365 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.2988, allocations: 14.95 kB / 0.5366 GB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.2989, allocations: 36.69 kB / 0.5366 GB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.2989, allocations: 18.19 kB / 0.5366 GB, free: 1.449 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.2991, allocations: 300.8 kB / 0.5369 GB, free: 1.285 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2991, allocations: 0 / 0.5369 GB, free: 1.285 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005914/0.2997, allocations: 226.6 kB / 0.5371 GB, free: 1.238 MB / 410.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.0004064/0.3001, allocations: 271.1 kB / 0.5374 GB, free: 1.098 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006459/0.3007, allocations: 239.6 kB / 0.5376 GB, free: 1.051 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3007, allocations: 0 / 0.5376 GB, free: 1.051 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.3011, allocations: 115 kB / 0.5377 GB, free: 1.016 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009285/0.302, allocations: 297.4 kB / 0.538 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.3034, allocations: 0.8445 MB / 0.5388 GB, free: 432 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.939e-05/0.3034, allocations: 128.5 kB / 0.5389 GB, free: 352 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006123/0.304, allocations: 476.9 kB / 0.5394 GB, free: 272 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.3042, allocations: 88.34 kB / 0.5395 GB, free: 252 kB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3042, allocations: 3.938 kB / 0.5395 GB, free: 248 kB / 410.7 MB Notification: Performance of Templates: time 0.01937/0.3236, allocations: 14.03 MB / 0.5532 GB, free: 5.898 MB / 426.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 -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.6877058260142803]