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.0008355/0.0008355, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.000947/0.000947, allocations: 166.3 kB / 24.91 MB, free: 8.77 MB / 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.9854/0.9854, allocations: 177 MB / 205.2 MB, free: 5.078 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.2839/0.2839, allocations: 34.86 MB / 296.6 MB, free: 488 kB / 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 1.533e-06/1.533e-06, allocations: 0 / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.493e-05, allocations: 2.312 kB / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3645/0.3645, allocations: 148 MB / 474 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.3678, allocations: 2.058 MB / 476 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005508/0.3683, allocations: 21.8 kB / 476 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.3688, allocations: 165 kB / 476.2 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.3712, allocations: 0.9886 MB / 477.2 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.3723, allocations: 0.5322 MB / 477.7 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.3742, allocations: 1.479 MB / 479.2 MB, free: 16.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006463/0.3748, allocations: 368.1 kB / 479.6 MB, free: 15.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.376, allocations: 0.7382 MB / 480.3 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006044/0.3766, allocations: 383.1 kB / 480.7 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.3767, allocations: 49.59 kB / 480.7 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.3779, allocations: 0.6418 MB / 481.4 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.3781, allocations: 157.7 kB / 481.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.3783, allocations: 238.4 kB / 481.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.3797, allocations: 0.9758 MB / 482.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3797, allocations: 0 / 482.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3797, allocations: 0 / 482.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.3797, allocations: 0 / 482.7 MB, free: 15.69 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.001237/0.3809, allocations: 0.8759 MB / 483.6 MB, free: 15.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.381, allocations: 7.562 kB / 483.6 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006883/0.3816, allocations: 215.7 kB / 483.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.3821, allocations: 365.1 kB / 484.2 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.3822, allocations: 29.34 kB / 484.2 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.3822, allocations: 49.62 kB / 484.2 MB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.3828, allocations: 0.7281 MB / 485 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3828, allocations: 3.375 kB / 485 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.3828, allocations: 13.41 kB / 485 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3828, allocations: 10.78 kB / 485 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.3831, allocations: 183.8 kB / 485.2 MB, free: 14.43 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.0013/0.3844, allocations: 1.52 MB / 486.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.3846, allocations: 126.5 kB / 486.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.3847, allocations: 55.84 kB / 486.9 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.3849, allocations: 93.14 kB / 487 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.385, allocations: 39.52 kB / 487 MB, free: 13.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 5.219e-06/0.385, allocations: 3.938 kB / 487 MB, free: 13.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001039/0.386, allocations: 364.3 kB / 487.4 MB, free: 13.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.386, allocations: 134 kB / 487.5 MB, free: 13.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.3862, allocations: 341.5 kB / 487.8 MB, free: 13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.3863, allocations: 34.92 kB / 487.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.3864, allocations: 241.1 kB / 488.1 MB, free: 12.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.3864, allocations: 115.1 kB / 488.2 MB, free: 12.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.3865, allocations: 92.48 kB / 488.3 MB, free: 12.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.3866, allocations: 357.7 kB / 488.7 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.3867, allocations: 42.98 kB / 488.7 MB, free: 12.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3868, allocations: 261 kB / 489 MB, free: 12.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.3871, allocations: 237.4 kB / 489.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3871, allocations: 0 / 489.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003579/0.3874, allocations: 270.8 kB / 489.5 MB, free: 11.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3875, allocations: 5.938 kB / 489.5 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3875, allocations: 5.766 kB / 489.5 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008193/0.3883, allocations: 209 kB / 489.7 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.3885, allocations: 108.5 kB / 489.8 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003498/0.3889, allocations: 0.5442 MB / 490.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.3891, allocations: 38.31 kB / 490.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.3891, allocations: 42.69 kB / 490.4 MB, free: 11.43 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.0001369/0.3893, allocations: 137 kB / 490.5 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.3893, allocations: 40.36 kB / 490.6 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008909/0.3902, allocations: 0.8135 MB / 491.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3902, allocations: 2.719 kB / 491.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3902, allocations: 4 kB / 491.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3902, allocations: 2.062 kB / 491.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007053/0.3909, allocations: 0.5478 MB / 491.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.391, allocations: 0 / 491.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.3911, allocations: 51.2 kB / 492 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006102/0.3917, allocations: 191.8 kB / 492.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.3917, allocations: 13.27 kB / 492.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003172/0.392, allocations: 0.5501 MB / 492.7 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.392, allocations: 7.188 kB / 492.7 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.3923, allocations: 308 kB / 493 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.3924, allocations: 41.81 kB / 493.1 MB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.3924, allocations: 28.61 kB / 493.1 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.3926, allocations: 17.2 kB / 493.1 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.3926, allocations: 26.06 kB / 493.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.3927, allocations: 16.59 kB / 493.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.3928, allocations: 159.3 kB / 493.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3928, allocations: 0 / 493.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005811/0.3934, allocations: 221 kB / 493.5 MB, free: 10.08 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.0004212/0.3938, allocations: 255.1 kB / 493.8 MB, free: 9.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.3943, allocations: 203.6 kB / 494 MB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.3943, allocations: 3.5 kB / 494 MB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.3945, allocations: 88.58 kB / 494.1 MB, free: 9.957 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.3952, allocations: 292.1 kB / 494.4 MB, free: 9.926 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3965, allocations: 0.8353 MB / 495.2 MB, free: 9.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.991e-05/0.3966, allocations: 120.2 kB / 495.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006/0.3972, allocations: 465.9 kB / 495.8 MB, free: 9.324 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/0.3977, allocations: 284.6 kB / 496.1 MB, free: 9.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/0.3977, allocations: 0 / 496.1 MB, free: 9.27 MB / 410.7 MB Notification: Performance of Templates: time 0.01672/0.4144, allocations: 13.96 MB / 0.4981 GB, free: 2.652 MB / 410.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 -s gbode -gbm=radauIIA3 -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.779782178811729]