Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001008/0.001008, allocations: 79.75 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001036/0.001036, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.203 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2693/0.2693, allocations: 32.81 MB / 294.3 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.[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_4.0.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.[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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.111e-05, allocations: 2.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2994/0.2994, allocations: 148.6 MB / 0.5123 GB, free: 17.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.3026, allocations: 2.03 MB / 0.5143 GB, free: 16.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005215/0.3031, allocations: 20.19 kB / 0.5143 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.3036, allocations: 157.6 kB / 0.5145 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.3059, allocations: 1.019 MB / 0.5155 GB, free: 15.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.307, allocations: 0.5359 MB / 0.516 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.3082, allocations: 1.479 MB / 0.5174 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/0.3087, allocations: 361.1 kB / 0.5178 GB, free: 14.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007471/0.3095, allocations: 0.7221 MB / 0.5185 GB, free: 14.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.3099, allocations: 401.6 kB / 0.5189 GB, free: 13.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.138e-05/0.3099, allocations: 48.47 kB / 0.5189 GB, free: 13.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.311, allocations: 0.5986 MB / 0.5195 GB, free: 13.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.3111, allocations: 165.7 kB / 0.5197 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.3113, allocations: 238.1 kB / 0.5199 GB, free: 13.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.3124, allocations: 0.9882 MB / 0.5209 GB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3124, allocations: 0 / 0.5209 GB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3124, allocations: 0 / 0.5209 GB, free: 13.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.3124, allocations: 0 / 0.5209 GB, free: 13.25 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.001147/0.3136, allocations: 1.015 MB / 0.5218 GB, free: 12.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3136, allocations: 8.438 kB / 0.5219 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000629/0.3142, allocations: 217.6 kB / 0.5221 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.3147, allocations: 414.9 kB / 0.5225 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.3147, allocations: 34.25 kB / 0.5225 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.3148, allocations: 51.88 kB / 0.5225 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.3154, allocations: 0.8005 MB / 0.5233 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3155, allocations: 1.922 kB / 0.5233 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.3155, allocations: 21.56 kB / 0.5233 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.3155, allocations: 11.38 kB / 0.5234 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.3159, allocations: 234.9 kB / 0.5236 GB, free: 11.42 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.001532/0.3174, allocations: 2.217 MB / 0.5257 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.3177, allocations: 181.4 kB / 0.5259 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.3178, allocations: 74.91 kB / 0.526 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.318, allocations: 48.67 kB / 0.526 GB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.318, allocations: 39.8 kB / 0.5261 GB, free: 9.504 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.595e-06/0.318, allocations: 4 kB / 0.5261 GB, free: 9.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001183/0.3192, allocations: 468 kB / 0.5265 GB, free: 9.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3192, allocations: 133.9 kB / 0.5267 GB, free: 9.211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.3195, allocations: 409.6 kB / 0.527 GB, free: 8.965 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.3195, allocations: 36.73 kB / 0.5271 GB, free: 8.926 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3196, allocations: 327.7 kB / 0.5274 GB, free: 8.652 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.3197, allocations: 108.4 kB / 0.5275 GB, free: 8.566 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.3198, allocations: 116.5 kB / 0.5276 GB, free: 8.508 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.3199, allocations: 0.5283 MB / 0.5281 GB, free: 7.992 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.32, allocations: 69.06 kB / 0.5282 GB, free: 7.984 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.3202, allocations: 323.3 kB / 0.5285 GB, free: 7.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.3205, allocations: 325 kB / 0.5288 GB, free: 7.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3205, allocations: 3.5 kB / 0.5288 GB, free: 7.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005229/0.321, allocations: 397.3 kB / 0.5292 GB, free: 7.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.321, allocations: 9.906 kB / 0.5292 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.321, allocations: 6.625 kB / 0.5292 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009138/0.3219, allocations: 214.5 kB / 0.5294 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.3222, allocations: 106.6 kB / 0.5295 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004174/0.3226, allocations: 0.8359 MB / 0.5303 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.3228, allocations: 33.69 kB / 0.5304 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.3228, allocations: 52.44 kB / 0.5304 GB, free: 6.383 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.0001343/0.323, allocations: 185.4 kB / 0.5306 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.323, allocations: 56.47 kB / 0.5306 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009813/0.324, allocations: 0.9171 MB / 0.5315 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.324, allocations: 3.156 kB / 0.5315 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.324, allocations: 0 / 0.5315 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.324, allocations: 4.859 kB / 0.5315 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008367/0.3249, allocations: 0.8031 MB / 0.5323 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3249, allocations: 6.969 kB / 0.5323 GB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.325, allocations: 47.94 kB / 0.5324 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006792/0.3257, allocations: 202 kB / 0.5326 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3257, allocations: 14.45 kB / 0.5326 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003479/0.326, allocations: 0.8429 MB / 0.5334 GB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.326, allocations: 2.656 kB / 0.5334 GB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.3264, allocations: 465.6 kB / 0.5339 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.3265, allocations: 45.72 kB / 0.5339 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.3265, allocations: 9.844 kB / 0.5339 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.3267, allocations: 12.73 kB / 0.5339 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.3267, allocations: 33.81 kB / 0.5339 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.3268, allocations: 22.75 kB / 0.534 GB, free: 4.094 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.3269, allocations: 297.5 kB / 0.5343 GB, free: 3.934 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3269, allocations: 0 / 0.5343 GB, free: 3.934 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000562/0.3275, allocations: 238 kB / 0.5345 GB, free: 3.879 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.0004057/0.3279, allocations: 264.6 kB / 0.5347 GB, free: 3.742 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000618/0.3285, allocations: 248.6 kB / 0.535 GB, free: 3.688 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3285, allocations: 3.938 kB / 0.535 GB, free: 3.684 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.3288, allocations: 107.2 kB / 0.5351 GB, free: 3.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/0.3296, allocations: 290.2 kB / 0.5354 GB, free: 3.594 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3309, allocations: 0.8416 MB / 0.5362 GB, free: 3.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.64e-05/0.331, allocations: 123.7 kB / 0.5363 GB, free: 2.992 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005644/0.3315, allocations: 485.5 kB / 0.5368 GB, free: 2.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.3317, allocations: 84.47 kB / 0.5368 GB, free: 2.895 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3317, allocations: 0 / 0.5368 GB, free: 2.895 MB / 410.7 MB Notification: Performance of Templates: time 0.01403/0.3457, allocations: 12.54 MB / 0.5491 GB, free: 11.41 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.049824269022793]