Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001893/0.001893, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001946/0.001946, allocations: 169.3 kB / 24.28 MB, free: 152 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.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3946/0.3946, allocations: 34.25 MB / 295.3 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.175e-05, allocations: 9.547 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.38/0.38, allocations: 179.8 MB / 0.5441 GB, free: 10.63 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006406/0.3864, allocations: 3.253 MB / 0.5473 GB, free: 8.465 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007226/0.3871, allocations: 23.53 kB / 0.5473 GB, free: 8.453 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.3883, allocations: 318.4 kB / 0.5476 GB, free: 8.273 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004855/0.3931, allocations: 1.463 MB / 0.549 GB, free: 7.496 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.3955, allocations: 0.7451 MB / 0.5497 GB, free: 6.977 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002665/0.3982, allocations: 1.594 MB / 0.5513 GB, free: 6.035 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008639/0.399, allocations: 372.7 kB / 0.5517 GB, free: 5.773 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.4009, allocations: 0.812 MB / 0.5525 GB, free: 5.277 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007639/0.4016, allocations: 413.2 kB / 0.5528 GB, free: 5.07 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.4017, allocations: 51.62 kB / 0.5529 GB, free: 5.07 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.404, allocations: 0.9068 MB / 0.5538 GB, free: 4.645 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.4042, allocations: 168 kB / 0.5539 GB, free: 4.52 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.4045, allocations: 250.9 kB / 0.5542 GB, free: 4.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.4072, allocations: 1.562 MB / 0.5557 GB, free: 3.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4072, allocations: 4 kB / 0.5557 GB, free: 3.227 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.4072, allocations: 4 kB / 0.5557 GB, free: 3.223 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.4072, allocations: 0 / 0.5557 GB, free: 3.223 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002281/0.4095, allocations: 1.129 MB / 0.5568 GB, free: 2.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4095, allocations: 8.031 kB / 0.5568 GB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.4107, allocations: 227 kB / 0.557 GB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009245/0.4116, allocations: 455.9 kB / 0.5575 GB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.4117, allocations: 33 kB / 0.5575 GB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.374e-05/0.4118, allocations: 44 kB / 0.5576 GB, free: 1.281 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.4133, allocations: 0.929 MB / 0.5585 GB, free: 228 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.4133, allocations: 11.86 kB / 0.5585 GB, free: 216 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.4134, allocations: 20 kB / 0.5585 GB, free: 196 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.4134, allocations: 12 kB / 0.5585 GB, free: 184 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009866/0.4144, allocations: 419.7 kB / 0.5589 GB, free: 15.77 MB / 442.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.003691/0.4181, allocations: 2.44 MB / 0.5613 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008383/0.4189, allocations: 332 kB / 0.5616 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.4192, allocations: 148.2 kB / 0.5617 GB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.4195, allocations: 56.23 kB / 0.5618 GB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.4195, allocations: 41.67 kB / 0.5618 GB, free: 12.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.4195, allocations: 0 / 0.5618 GB, free: 12.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001939/0.4215, allocations: 0.6471 MB / 0.5625 GB, free: 12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.4216, allocations: 136.5 kB / 0.5626 GB, free: 11.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000712/0.4223, allocations: 0.5337 MB / 0.5631 GB, free: 11.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.4224, allocations: 29.7 kB / 0.5631 GB, free: 11.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.4227, allocations: 359.1 kB / 0.5635 GB, free: 10.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.4228, allocations: 131 kB / 0.5636 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.4231, allocations: 119.8 kB / 0.5637 GB, free: 10.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003457/0.4234, allocations: 0.543 MB / 0.5643 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.4237, allocations: 136.9 kB / 0.5644 GB, free: 9.953 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.4243, allocations: 400.4 kB / 0.5648 GB, free: 9.465 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/0.4252, allocations: 475.2 kB / 0.5652 GB, free: 8.938 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.4252, allocations: 4 kB / 0.5652 GB, free: 8.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00116/0.4264, allocations: 0.5321 MB / 0.5657 GB, free: 8.391 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4264, allocations: 12.03 kB / 0.5658 GB, free: 8.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4264, allocations: 4 kB / 0.5658 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.4279, allocations: 215.4 kB / 0.566 GB, free: 8.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.4283, allocations: 99.83 kB / 0.5661 GB, free: 8.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007922/0.4291, allocations: 0.8752 MB / 0.5669 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.4294, allocations: 35.73 kB / 0.567 GB, free: 7.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/0.4294, allocations: 47.98 kB / 0.567 GB, free: 7.074 MB / 442.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 (44): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0002976/0.4297, allocations: 216.5 kB / 0.5672 GB, free: 6.852 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.4299, allocations: 62.84 kB / 0.5673 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.4322, allocations: 1.145 MB / 0.5684 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4322, allocations: 4 kB / 0.5684 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4322, allocations: 0 / 0.5684 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4322, allocations: 0 / 0.5684 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.4339, allocations: 0.9881 MB / 0.5694 GB, free: 4.582 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4339, allocations: 7.938 kB / 0.5694 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.4341, allocations: 56.06 kB / 0.5694 GB, free: 4.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002999/0.4371, allocations: 359.1 kB / 0.5698 GB, free: 4.164 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.4372, allocations: 12 kB / 0.5698 GB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007889/0.438, allocations: 0.8897 MB / 0.5706 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.438, allocations: 0 / 0.5706 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009965/0.439, allocations: 0.5625 MB / 0.5712 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4391, allocations: 51.58 kB / 0.5712 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.042e-05/0.4392, allocations: 11.94 kB / 0.5712 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.4394, allocations: 15.98 kB / 0.5713 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.4395, allocations: 23.97 kB / 0.5713 GB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.4396, allocations: 15.98 kB / 0.5713 GB, free: 2.508 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005635/0.4401, allocations: 403 kB / 0.5717 GB, free: 2.113 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4401, allocations: 0 / 0.5717 GB, free: 2.113 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001052/0.4412, allocations: 303.1 kB / 0.572 GB, free: 1.816 MB / 442.7 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 (27): * Single equations (assignments): 26 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008828/0.4421, allocations: 378.5 kB / 0.5723 GB, free: 1.438 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009149/0.443, allocations: 380.7 kB / 0.5727 GB, free: 1.062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.443, allocations: 3.938 kB / 0.5727 GB, free: 1.059 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.4434, allocations: 164.6 kB / 0.5729 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.4449, allocations: 319.1 kB / 0.5732 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.4465, allocations: 0.8802 MB / 0.574 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.4468, allocations: 263.1 kB / 0.5743 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001069/0.4479, allocations: 0.532 MB / 0.5748 GB, free: 14.85 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.4481, allocations: 84.45 kB / 0.5749 GB, free: 14.77 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4481, allocations: 0 / 0.5749 GB, free: 14.77 MB / 458.7 MB Notification: Performance of Templates: time 0.02861/0.4767, allocations: 14.56 MB / 0.5891 GB, free: 452 kB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.99481341894716]