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.001448/0.001448, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001638/0.001638, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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 0.9267/0.9267, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.1471/0.1471, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.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 1.613e-06/1.613e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.642e-05, allocations: 2.312 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3292/0.3292, allocations: 145.8 MB / 0.5108 GB, free: 16.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006242/0.3355, allocations: 2.012 MB / 0.5128 GB, free: 16.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005978/0.336, allocations: 27.56 kB / 0.5128 GB, free: 16.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.3365, allocations: 159.8 kB / 0.513 GB, free: 16.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.3419, allocations: 1.012 MB / 0.514 GB, free: 16.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.3432, allocations: 0.5317 MB / 0.5145 GB, free: 16.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005052/0.3483, allocations: 1.48 MB / 0.5159 GB, free: 16.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005972/0.3489, allocations: 370.2 kB / 0.5163 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/0.3531, allocations: 0.7373 MB / 0.517 GB, free: 16.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006435/0.3538, allocations: 403.2 kB / 0.5174 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.3539, allocations: 46.12 kB / 0.5174 GB, free: 16.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.3555, allocations: 0.6028 MB / 0.518 GB, free: 16.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.3557, allocations: 156.8 kB / 0.5182 GB, free: 16.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.356, allocations: 235.3 kB / 0.5184 GB, free: 16.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.358, allocations: 0.98 MB / 0.5194 GB, free: 16.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.358, allocations: 0 / 0.5194 GB, free: 16.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.358, allocations: 0 / 0.5194 GB, free: 16.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.358, allocations: 2.688 kB / 0.5194 GB, free: 16.46 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.001675/0.3597, allocations: 1.021 MB / 0.5204 GB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3597, allocations: 13.14 kB / 0.5204 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006212/0.3603, allocations: 214.8 kB / 0.5206 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.3609, allocations: 414 kB / 0.521 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3609, allocations: 31.91 kB / 0.521 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.3609, allocations: 46.78 kB / 0.521 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.3615, allocations: 0.7484 MB / 0.5218 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3615, allocations: 0 / 0.5218 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.3615, allocations: 19.25 kB / 0.5218 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3615, allocations: 12.5 kB / 0.5218 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.3618, allocations: 200.2 kB / 0.522 GB, free: 15 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.001415/0.3632, allocations: 2.149 MB / 0.5241 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.3635, allocations: 153.5 kB / 0.5242 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.3635, allocations: 72.16 kB / 0.5243 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.3637, allocations: 50.03 kB / 0.5244 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3637, allocations: 44.61 kB / 0.5244 GB, free: 13.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.973e-06/0.3637, allocations: 0 / 0.5244 GB, free: 13.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001072/0.3648, allocations: 436.7 kB / 0.5248 GB, free: 13.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.3648, allocations: 134.4 kB / 0.5249 GB, free: 13.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.365, allocations: 405.8 kB / 0.5253 GB, free: 12.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.365, allocations: 32.64 kB / 0.5254 GB, free: 12.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3651, allocations: 333 kB / 0.5257 GB, free: 12.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/0.3652, allocations: 111.7 kB / 0.5258 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.3653, allocations: 116.1 kB / 0.5259 GB, free: 12.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.146e-05/0.3654, allocations: 0.5226 MB / 0.5264 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.607e-05/0.3655, allocations: 59.98 kB / 0.5265 GB, free: 12.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.3656, allocations: 321.4 kB / 0.5268 GB, free: 11.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.3659, allocations: 300.3 kB / 0.5271 GB, free: 11.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3659, allocations: 0 / 0.5271 GB, free: 11.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004509/0.3663, allocations: 369.5 kB / 0.5274 GB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3664, allocations: 5.469 kB / 0.5274 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3664, allocations: 3.5 kB / 0.5274 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008225/0.3672, allocations: 223.5 kB / 0.5276 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.3674, allocations: 98.27 kB / 0.5277 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004278/0.3678, allocations: 0.8332 MB / 0.5285 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.368, allocations: 31.81 kB / 0.5286 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.3681, allocations: 47.25 kB / 0.5286 GB, free: 10.73 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.000148/0.3682, allocations: 178.5 kB / 0.5288 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.3683, allocations: 67.62 kB / 0.5289 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009325/0.3692, allocations: 0.8938 MB / 0.5297 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3692, allocations: 2.75 kB / 0.5297 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.3692, allocations: 0 / 0.5297 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3692, allocations: 1.922 kB / 0.5297 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007191/0.37, allocations: 0.7287 MB / 0.5304 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.37, allocations: 4 kB / 0.5304 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3701, allocations: 47.83 kB / 0.5305 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006224/0.3707, allocations: 193.7 kB / 0.5307 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.3707, allocations: 17.44 kB / 0.5307 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003246/0.371, allocations: 0.8522 MB / 0.5315 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.371, allocations: 0 / 0.5315 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.3714, allocations: 435.9 kB / 0.5319 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.3714, allocations: 51.39 kB / 0.532 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.3715, allocations: 8.75 kB / 0.532 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.3716, allocations: 11.55 kB / 0.532 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.3717, allocations: 30.64 kB / 0.532 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3717, allocations: 21.03 kB / 0.5321 GB, free: 8.832 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.3718, allocations: 281.3 kB / 0.5323 GB, free: 8.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3718, allocations: 0 / 0.5323 GB, free: 8.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005286/0.3724, allocations: 227.4 kB / 0.5325 GB, free: 8.672 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.0003605/0.3727, allocations: 277.2 kB / 0.5328 GB, free: 8.555 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004812/0.3732, allocations: 217.9 kB / 0.533 GB, free: 8.543 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3732, allocations: 0 / 0.533 GB, free: 8.543 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.3734, allocations: 110.3 kB / 0.5331 GB, free: 8.523 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.3741, allocations: 297.4 kB / 0.5334 GB, free: 8.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.3753, allocations: 0.8452 MB / 0.5342 GB, free: 8.004 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.451e-05/0.3753, allocations: 121.1 kB / 0.5343 GB, free: 7.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005773/0.3759, allocations: 460.2 kB / 0.5348 GB, free: 7.867 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/0.3764, allocations: 355.9 kB / 0.5351 GB, free: 7.785 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3764, allocations: 0 / 0.5351 GB, free: 7.785 MB / 410.7 MB Notification: Performance of Templates: time 0.01706/0.3935, allocations: 14.22 MB / 0.549 GB, free: 1.52 MB / 410.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: 3.9200837616808712]