Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000964/0.000964, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009611/0.0009611, allocations: 161 kB / 24.56 MB, free: 16 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.031/1.031, allocations: 177.1 MB / 205 MB, free: 5.59 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.2706/0.2706, allocations: 32.81 MB / 294.3 MB, free: 1.277 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.Orifices.ThickEdgedOrifice,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.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,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.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.753e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3658/0.3658, allocations: 148.8 MB / 0.5126 GB, free: 17.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004525/0.3703, allocations: 3.055 MB / 0.5155 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006413/0.371, allocations: 23.41 kB / 0.5156 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006119/0.3716, allocations: 180.5 kB / 0.5157 GB, free: 15.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002832/0.3744, allocations: 1.225 MB / 0.5169 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.3759, allocations: 0.5928 MB / 0.5175 GB, free: 14.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.3782, allocations: 1.554 MB / 0.519 GB, free: 13.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007006/0.3789, allocations: 385.4 kB / 0.5194 GB, free: 13.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.3801, allocations: 0.7524 MB / 0.5201 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.3807, allocations: 412.4 kB / 0.5205 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.887e-05/0.3808, allocations: 51.78 kB / 0.5206 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.3828, allocations: 0.8091 MB / 0.5214 GB, free: 12.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.383, allocations: 183.8 kB / 0.5215 GB, free: 12.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.3833, allocations: 252.3 kB / 0.5218 GB, free: 12.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.3856, allocations: 1.211 MB / 0.523 GB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.3856, allocations: 0 / 0.523 GB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3856, allocations: 0 / 0.523 GB, free: 12.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.3856, allocations: 0 / 0.523 GB, free: 12.04 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001752/0.3874, allocations: 1.083 MB / 0.524 GB, free: 11.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.3874, allocations: 8.469 kB / 0.524 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007725/0.3882, allocations: 230.4 kB / 0.5242 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.3888, allocations: 442.3 kB / 0.5247 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.3889, allocations: 35.38 kB / 0.5247 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.454e-05/0.3889, allocations: 49.84 kB / 0.5248 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.3898, allocations: 0.8295 MB / 0.5256 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3898, allocations: 0 / 0.5256 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.3898, allocations: 17.81 kB / 0.5256 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.3899, allocations: 11.44 kB / 0.5256 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.3903, allocations: 278.8 kB / 0.5259 GB, free: 10.14 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.001779/0.3921, allocations: 2.281 MB / 0.5281 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.3925, allocations: 208.3 kB / 0.5283 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.3926, allocations: 87.48 kB / 0.5284 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.3928, allocations: 54.23 kB / 0.5284 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3928, allocations: 40.05 kB / 0.5285 GB, free: 8.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/0.3928, allocations: 0 / 0.5285 GB, free: 8.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009629/0.3938, allocations: 490.4 kB / 0.5289 GB, free: 8.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3938, allocations: 131.3 kB / 0.529 GB, free: 7.863 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.3941, allocations: 447.8 kB / 0.5295 GB, free: 7.609 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.3941, allocations: 32.39 kB / 0.5295 GB, free: 7.574 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3943, allocations: 338.5 kB / 0.5298 GB, free: 7.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.3943, allocations: 126.7 kB / 0.5299 GB, free: 7.191 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3944, allocations: 115.6 kB / 0.5301 GB, free: 7.133 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.3945, allocations: 0.5248 MB / 0.5306 GB, free: 6.621 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3946, allocations: 72.12 kB / 0.5306 GB, free: 6.613 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.3948, allocations: 333.1 kB / 0.531 GB, free: 6.277 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.3951, allocations: 324.6 kB / 0.5313 GB, free: 6.031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3952, allocations: 3.188 kB / 0.5313 GB, free: 6.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004954/0.3956, allocations: 407.6 kB / 0.5317 GB, free: 5.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3957, allocations: 14.28 kB / 0.5317 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3957, allocations: 2.562 kB / 0.5317 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/0.3964, allocations: 200.4 kB / 0.5319 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.3966, allocations: 99.44 kB / 0.532 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002791/0.3969, allocations: 0.8316 MB / 0.5328 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.397, allocations: 37.41 kB / 0.5328 GB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.3971, allocations: 44.11 kB / 0.5329 GB, free: 5 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 (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.0001271/0.3972, allocations: 180.8 kB / 0.533 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.3973, allocations: 67.27 kB / 0.5331 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.3983, allocations: 0.9715 MB / 0.534 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3983, allocations: 2.312 kB / 0.534 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3983, allocations: 3.5 kB / 0.534 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3983, allocations: 2.531 kB / 0.534 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008039/0.3991, allocations: 0.8516 MB / 0.5349 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3991, allocations: 3.312 kB / 0.5349 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3992, allocations: 55.22 kB / 0.5349 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.4004, allocations: 344.1 kB / 0.5353 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.4004, allocations: 16.16 kB / 0.5353 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002212/0.4007, allocations: 0.8457 MB / 0.5361 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4007, allocations: 2.969 kB / 0.5361 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.401, allocations: 474.6 kB / 0.5366 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.4011, allocations: 50.84 kB / 0.5366 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.4011, allocations: 17.7 kB / 0.5366 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.4013, allocations: 11.78 kB / 0.5366 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.4013, allocations: 29.36 kB / 0.5367 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.4013, allocations: 26.95 kB / 0.5367 GB, free: 2.625 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002156/0.4016, allocations: 316.6 kB / 0.537 GB, free: 2.465 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4016, allocations: 4.031 kB / 0.537 GB, free: 2.461 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006833/0.4022, allocations: 286.5 kB / 0.5373 GB, free: 2.395 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 (28): * Single equations (assignments): 27 * 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.0005304/0.4028, allocations: 351 kB / 0.5376 GB, free: 2.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.4032, allocations: 246.1 kB / 0.5378 GB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4032, allocations: 0.875 kB / 0.5378 GB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.4034, allocations: 122.7 kB / 0.538 GB, free: 2.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/0.4041, allocations: 301.4 kB / 0.5382 GB, free: 2.059 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.4053, allocations: 0.8407 MB / 0.5391 GB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.359e-05/0.4054, allocations: 130.2 kB / 0.5392 GB, free: 1.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000588/0.406, allocations: 479.8 kB / 0.5396 GB, free: 1.352 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.4061, allocations: 83.58 kB / 0.5397 GB, free: 1.336 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4061, allocations: 0 / 0.5397 GB, free: 1.336 MB / 410.7 MB Notification: Performance of Templates: time 0.01716/0.4233, allocations: 14.16 MB / 0.5536 GB, free: 6.789 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.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.073177437298]