Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 107.5 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2592/0.2592, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 77.75 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.12, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4948/0.6148, allocations: 189.8 MB / 0.617 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.6194, allocations: 2.125 MB / 0.619 GB, free: 256 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007514/0.6201, allocations: 11.75 kB / 0.619 GB, free: 252 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.6212, allocations: 309.9 kB / 0.6193 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.6254, allocations: 1.403 MB / 0.6207 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.6272, allocations: 0.6827 MB / 0.6214 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.6292, allocations: 1.467 MB / 0.6228 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007408/0.63, allocations: 416.7 kB / 0.6232 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.6316, allocations: 0.5676 MB / 0.6238 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008501/0.6324, allocations: 433.4 kB / 0.6242 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.149e-05/0.6325, allocations: 48.16 kB / 0.6242 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.6343, allocations: 0.9999 MB / 0.6252 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.6345, allocations: 156.6 kB / 0.6253 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.6348, allocations: 328.8 kB / 0.6257 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.6363, allocations: 1.314 MB / 0.6269 GB, free: 10.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6364, allocations: 4 kB / 0.6269 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.6364, allocations: 4 kB / 0.6269 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.6364, allocations: 0 / 0.6269 GB, free: 10.82 MB / 446.1 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.001617/0.638, allocations: 1.021 MB / 0.6279 GB, free: 9.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.638, allocations: 12.03 kB / 0.628 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009589/0.639, allocations: 139.2 kB / 0.6281 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.6398, allocations: 472.4 kB / 0.6285 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.6398, allocations: 32.94 kB / 0.6286 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.6399, allocations: 43.98 kB / 0.6286 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.6408, allocations: 0.5477 MB / 0.6291 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6408, allocations: 0 / 0.6291 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.125e-05/0.6409, allocations: 27.92 kB / 0.6292 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.6409, allocations: 11.94 kB / 0.6292 GB, free: 8.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007696/0.6417, allocations: 403.6 kB / 0.6296 GB, free: 8.008 MB / 446.1 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.002785/0.6445, allocations: 2.584 MB / 0.6321 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.6451, allocations: 288.6 kB / 0.6324 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.6454, allocations: 144.9 kB / 0.6325 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.6465, allocations: 1.225 MB / 0.6337 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.6466, allocations: 34.56 kB / 0.6337 GB, free: 3.301 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 3.186e-06/0.6466, allocations: 3.984 kB / 0.6337 GB, free: 3.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.002261/0.6488, allocations: 0.7072 MB / 0.6344 GB, free: 2.562 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.6489, allocations: 136.5 kB / 0.6346 GB, free: 2.398 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.6494, allocations: 445.9 kB / 0.635 GB, free: 1.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.6494, allocations: 33.7 kB / 0.635 GB, free: 1.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.6496, allocations: 267.8 kB / 0.6353 GB, free: 1.645 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/0.6497, allocations: 102.6 kB / 0.6354 GB, free: 1.543 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.6499, allocations: 105.5 kB / 0.6355 GB, free: 1.434 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.65, allocations: 358.8 kB / 0.6358 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.6504, allocations: 143.9 kB / 0.6359 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.6509, allocations: 275.2 kB / 0.6362 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008094/0.6517, allocations: 418.2 kB / 0.6366 GB, free: 160 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6517, allocations: 4 kB / 0.6366 GB, free: 156 kB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00115/0.6528, allocations: 0.521 MB / 0.6371 GB, free: 15.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6529, allocations: 4 kB / 0.6371 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.6529, allocations: 7.938 kB / 0.6371 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.6548, allocations: 268.9 kB / 0.6374 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.6552, allocations: 103.8 kB / 0.6375 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008764/0.6561, allocations: 0.6095 MB / 0.6381 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.6565, allocations: 47.52 kB / 0.6381 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.321e-05/0.6566, allocations: 43.98 kB / 0.6382 GB, free: 14.52 MB / 462.1 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.0002168/0.6568, allocations: 189.6 kB / 0.6384 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.6569, allocations: 47.44 kB / 0.6384 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.6585, allocations: 0.6649 MB / 0.639 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.6585, allocations: 4.562 kB / 0.6391 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.6585, allocations: 0 / 0.6391 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6585, allocations: 7.922 kB / 0.6391 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.6601, allocations: 0.9789 MB / 0.64 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6602, allocations: 1.125 kB / 0.64 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.6604, allocations: 51.95 kB / 0.6401 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.6621, allocations: 268.5 kB / 0.6403 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.6621, allocations: 15.92 kB / 0.6403 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000869/0.663, allocations: 0.5953 MB / 0.6409 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.663, allocations: 4.031 kB / 0.6409 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.6642, allocations: 0.5036 MB / 0.6414 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.6644, allocations: 128.5 kB / 0.6415 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.232e-05/0.6645, allocations: 20.53 kB / 0.6416 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.6648, allocations: 15.98 kB / 0.6416 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.6649, allocations: 27.91 kB / 0.6416 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.665, allocations: 19.97 kB / 0.6416 GB, free: 10.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004459/0.6654, allocations: 382.8 kB / 0.642 GB, free: 10.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6654, allocations: 7.938 kB / 0.642 GB, free: 10.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000794/0.6662, allocations: 255.8 kB / 0.6422 GB, free: 10.17 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (23): * Single equations (assignments): 22 * 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.0007885/0.667, allocations: 374 kB / 0.6426 GB, free: 9.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.6683, allocations: 367.6 kB / 0.6429 GB, free: 9.449 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.6683, allocations: 4 kB / 0.6429 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007019/0.669, allocations: 161.4 kB / 0.6431 GB, free: 9.289 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.6705, allocations: 343.3 kB / 0.6434 GB, free: 8.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.6724, allocations: 0.8924 MB / 0.6443 GB, free: 8.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.6729, allocations: 0.8549 MB / 0.6451 GB, free: 7.137 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005852/0.6735, allocations: 186.9 kB / 0.6453 GB, free: 6.953 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.6737, allocations: 79.39 kB / 0.6454 GB, free: 6.875 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6737, allocations: 0 / 0.6454 GB, free: 6.875 MB / 462.1 MB Notification: Performance of Templates: time 0.0243/0.698, allocations: 15.02 MB / 0.6601 GB, free: 7.895 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches