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.0009215/0.0009215, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00099/0.00099, allocations: 166.3 kB / 24.82 MB, free: 9.301 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.905/0.905, allocations: 177 MB / 205.1 MB, free: 5.469 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.2432/0.2432, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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.425e-06/2.425e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.935e-05, allocations: 6.25 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3332/0.3332, allocations: 145.8 MB / 0.5128 GB, free: 16.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.3363, allocations: 2.01 MB / 0.5147 GB, free: 14.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005231/0.3368, allocations: 22.03 kB / 0.5147 GB, free: 14.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.3372, allocations: 171.2 kB / 0.5149 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.3396, allocations: 1.014 MB / 0.5159 GB, free: 14.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.3407, allocations: 0.5307 MB / 0.5164 GB, free: 13.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.3422, allocations: 1.487 MB / 0.5179 GB, free: 13.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.3427, allocations: 361.5 kB / 0.5182 GB, free: 13.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008474/0.3435, allocations: 0.7428 MB / 0.5189 GB, free: 12.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004923/0.344, allocations: 395.8 kB / 0.5193 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.3441, allocations: 46.81 kB / 0.5194 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.3451, allocations: 0.6061 MB / 0.52 GB, free: 12.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.3452, allocations: 164 kB / 0.5201 GB, free: 12.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.3454, allocations: 237.2 kB / 0.5203 GB, free: 12.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.3465, allocations: 0.9691 MB / 0.5213 GB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3465, allocations: 0 / 0.5213 GB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3465, allocations: 0 / 0.5213 GB, free: 11.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3465, allocations: 3.938 kB / 0.5213 GB, free: 11.93 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.001119/0.3476, allocations: 1.011 MB / 0.5223 GB, free: 11.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3476, allocations: 9.875 kB / 0.5223 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.3482, allocations: 218 kB / 0.5225 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.3486, allocations: 415.8 kB / 0.5229 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3486, allocations: 27.5 kB / 0.5229 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.3487, allocations: 46.25 kB / 0.523 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.3492, allocations: 0.7458 MB / 0.5237 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3492, allocations: 3.938 kB / 0.5237 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.3492, allocations: 21.38 kB / 0.5237 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3492, allocations: 10.94 kB / 0.5237 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.3495, allocations: 203.7 kB / 0.5239 GB, free: 10.16 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.00126/0.3507, allocations: 2.144 MB / 0.526 GB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.351, allocations: 160.7 kB / 0.5262 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.3511, allocations: 70.41 kB / 0.5262 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.3512, allocations: 55.12 kB / 0.5263 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.3512, allocations: 40.33 kB / 0.5263 GB, free: 8.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.3512, allocations: 0 / 0.5263 GB, free: 8.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009778/0.3522, allocations: 443.7 kB / 0.5267 GB, free: 8.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.3522, allocations: 131.4 kB / 0.5269 GB, free: 8.008 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.3524, allocations: 404 kB / 0.5273 GB, free: 7.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.3524, allocations: 32.02 kB / 0.5273 GB, free: 7.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3525, allocations: 337.7 kB / 0.5276 GB, free: 7.449 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.3526, allocations: 109.3 kB / 0.5277 GB, free: 7.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3527, allocations: 117.5 kB / 0.5278 GB, free: 7.301 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.3527, allocations: 0.5262 MB / 0.5283 GB, free: 6.785 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.3528, allocations: 62.08 kB / 0.5284 GB, free: 6.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.353, allocations: 314.1 kB / 0.5287 GB, free: 6.461 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.3532, allocations: 292.3 kB / 0.529 GB, free: 6.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3532, allocations: 0 / 0.529 GB, free: 6.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004054/0.3536, allocations: 371.8 kB / 0.5293 GB, free: 6.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3536, allocations: 5.875 kB / 0.5293 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3536, allocations: 5.469 kB / 0.5293 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007391/0.3544, allocations: 226.7 kB / 0.5296 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.3545, allocations: 96.44 kB / 0.5296 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003396/0.3549, allocations: 0.8296 MB / 0.5305 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.355, allocations: 36.38 kB / 0.5305 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.3551, allocations: 46.05 kB / 0.5305 GB, free: 5.219 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.0001057/0.3552, allocations: 176.8 kB / 0.5307 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.3553, allocations: 61.06 kB / 0.5308 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000859/0.3561, allocations: 0.9051 MB / 0.5316 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3561, allocations: 2.938 kB / 0.5317 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.3561, allocations: 7.938 kB / 0.5317 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3561, allocations: 5.359 kB / 0.5317 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006644/0.3568, allocations: 0.7247 MB / 0.5324 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3568, allocations: 2.531 kB / 0.5324 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3569, allocations: 49.5 kB / 0.5324 GB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005753/0.3575, allocations: 196.3 kB / 0.5326 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3575, allocations: 16.25 kB / 0.5326 GB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003125/0.3578, allocations: 0.8394 MB / 0.5334 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3578, allocations: 5.359 kB / 0.5334 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.3581, allocations: 441 kB / 0.5339 GB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.3582, allocations: 55.11 kB / 0.5339 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.3582, allocations: 9.469 kB / 0.5339 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3584, allocations: 12.52 kB / 0.5339 GB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.3584, allocations: 26.59 kB / 0.534 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3584, allocations: 19.59 kB / 0.534 GB, free: 2.988 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.3586, allocations: 283 kB / 0.5343 GB, free: 2.832 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3586, allocations: 0 / 0.5343 GB, free: 2.832 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005083/0.3591, allocations: 227.5 kB / 0.5345 GB, free: 2.781 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.0003537/0.3594, allocations: 278.1 kB / 0.5347 GB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004646/0.3599, allocations: 219.3 kB / 0.5349 GB, free: 2.602 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3599, allocations: 2.938 kB / 0.535 GB, free: 2.602 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.3601, allocations: 109.2 kB / 0.5351 GB, free: 2.566 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.3607, allocations: 286.3 kB / 0.5353 GB, free: 2.504 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3618, allocations: 0.8507 MB / 0.5362 GB, free: 1.965 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.3619, allocations: 119 kB / 0.5363 GB, free: 1.895 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004964/0.3624, allocations: 463.2 kB / 0.5367 GB, free: 1.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004552/0.3628, allocations: 355 kB / 0.5371 GB, free: 1.734 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.3628, allocations: 0 / 0.5371 GB, free: 1.734 MB / 410.7 MB Notification: Performance of Templates: time 0.01517/0.378, allocations: 14.04 MB / 0.5508 GB, free: 8.031 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.5375939742662013]