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.0009671/0.0009671, allocations: 97.33 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 182 kB / 16.92 MB, free: 6.703 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.424/1.424, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4148/0.4148, allocations: 43.58 MB / 315 MB, free: 8.992 MB / 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.0005085/0.0005086, allocations: 15.98 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1451, allocations: 58.87 MB / 443.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5399/0.6851, allocations: 185.6 MB / 0.6143 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005063/0.6902, allocations: 2.209 MB / 0.6165 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007071/0.691, allocations: 19.81 kB / 0.6165 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009435/0.692, allocations: 254.6 kB / 0.6168 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00418/0.6961, allocations: 1.226 MB / 0.618 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.6983, allocations: 0.6209 MB / 0.6186 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002815/0.7011, allocations: 1.968 MB / 0.6205 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006756/0.7018, allocations: 361.8 kB / 0.6208 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.7029, allocations: 0.498 MB / 0.6213 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006143/0.7035, allocations: 450.1 kB / 0.6218 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.035e-05/0.7036, allocations: 24 kB / 0.6218 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.706, allocations: 0.8736 MB / 0.6226 GB, free: 9.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.7062, allocations: 131.5 kB / 0.6228 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.7066, allocations: 328.2 kB / 0.6231 GB, free: 8.801 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.7087, allocations: 1.289 MB / 0.6243 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7087, allocations: 4 kB / 0.6243 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.7087, allocations: 4 kB / 0.6243 GB, free: 7.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.7087, allocations: 0 / 0.6243 GB, free: 7.5 MB / 494.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.001737/0.7105, allocations: 0.8859 MB / 0.6252 GB, free: 6.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.7105, allocations: 15.97 kB / 0.6252 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/0.7115, allocations: 135.3 kB / 0.6253 GB, free: 6.418 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006759/0.7122, allocations: 452.5 kB / 0.6258 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.7122, allocations: 29 kB / 0.6258 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-05/0.7123, allocations: 44.67 kB / 0.6258 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.7135, allocations: 0.5516 MB / 0.6264 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.7135, allocations: 11.81 kB / 0.6264 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/0.7136, allocations: 23.98 kB / 0.6264 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.7136, allocations: 15.94 kB / 0.6264 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.7145, allocations: 411.6 kB / 0.6268 GB, free: 4.82 MB / 494.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.003023/0.7175, allocations: 2.595 MB / 0.6294 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.7182, allocations: 294.8 kB / 0.6296 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.7185, allocations: 150.7 kB / 0.6298 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/0.7201, allocations: 1.236 MB / 0.631 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.7201, allocations: 38.56 kB / 0.631 GB, free: 84 kB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 2.325e-06/0.7202, allocations: 0 / 0.631 GB, free: 84 kB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.3836/1.104, allocations: 0.7093 MB / 0.6317 GB, free: 13.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/1.104, allocations: 137.2 kB / 0.6319 GB, free: 13.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/1.105, allocations: 453.7 kB / 0.6323 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/1.105, allocations: 30.52 kB / 0.6323 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/1.105, allocations: 273 kB / 0.6326 GB, free: 13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/1.105, allocations: 107.5 kB / 0.6327 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/1.105, allocations: 33.7 kB / 0.6327 GB, free: 12.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/1.105, allocations: 356.7 kB / 0.6331 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/1.106, allocations: 146.2 kB / 0.6332 GB, free: 12.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/1.106, allocations: 281.4 kB / 0.6335 GB, free: 12.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008491/1.107, allocations: 431.7 kB / 0.6339 GB, free: 12.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.107, allocations: 4.969 kB / 0.6339 GB, free: 12.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001212/1.108, allocations: 0.5316 MB / 0.6344 GB, free: 12.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/1.108, allocations: 6.5 kB / 0.6344 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.108, allocations: 5.172 kB / 0.6344 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/1.11, allocations: 314.2 kB / 0.6347 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/1.111, allocations: 107.8 kB / 0.6348 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009017/1.112, allocations: 0.6063 MB / 0.6354 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/1.112, allocations: 67.02 kB / 0.6355 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/1.112, allocations: 47.28 kB / 0.6355 GB, free: 11.71 MB / 494.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.0002959/1.113, allocations: 177.7 kB / 0.6357 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.113, allocations: 51.81 kB / 0.6357 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/1.115, allocations: 0.6717 MB / 0.6364 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.115, allocations: 4.875 kB / 0.6364 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.115, allocations: 0 / 0.6364 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.115, allocations: 0 / 0.6364 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/1.116, allocations: 0.9918 MB / 0.6374 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.116, allocations: 2.156 kB / 0.6374 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/1.117, allocations: 55.83 kB / 0.6374 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002168/1.119, allocations: 347.4 kB / 0.6377 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/1.119, allocations: 15.42 kB / 0.6378 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008956/1.12, allocations: 0.6026 MB / 0.6383 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.12, allocations: 8.5 kB / 0.6384 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/1.121, allocations: 0.5181 MB / 0.6389 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/1.121, allocations: 153 kB / 0.639 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/1.121, allocations: 8.938 kB / 0.639 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/1.122, allocations: 44.06 kB / 0.6391 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/1.122, allocations: 23.84 kB / 0.6391 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/1.122, allocations: 18.66 kB / 0.6391 GB, free: 10.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005156/1.123, allocations: 388.6 kB / 0.6395 GB, free: 10.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.123, allocations: 0 / 0.6395 GB, free: 10.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009852/1.124, allocations: 254 kB / 0.6397 GB, free: 10.07 MB / 494.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.0008621/1.124, allocations: 383.4 kB / 0.6401 GB, free: 9.949 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/1.126, allocations: 374.8 kB / 0.6404 GB, free: 9.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.126, allocations: 2.094 kB / 0.6404 GB, free: 9.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007659/1.127, allocations: 175 kB / 0.6406 GB, free: 9.934 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/1.128, allocations: 328.4 kB / 0.6409 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/1.131, allocations: 1.103 MB / 0.642 GB, free: 9.355 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/1.131, allocations: 0.8489 MB / 0.6428 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008311/1.132, allocations: 197 kB / 0.643 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/1.132, allocations: 76.12 kB / 0.6431 GB, free: 8.578 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/1.132, allocations: 0 / 0.6431 GB, free: 8.578 MB / 494.1 MB Notification: Performance of Templates: time 0.03107/1.163, allocations: 14.38 MB / 0.6571 GB, free: 7.449 MB / 494.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches