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.00142/0.00142, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001522/0.001522, allocations: 209 kB / 24.47 MB, free: 3.941 MB / 14.72 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.458/1.458, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 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.2228/0.2228, allocations: 46.97 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002857/0.002857, allocations: 71.89 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3613, allocations: 66.04 MB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2135/0.5749, allocations: 161.7 MB / 0.7198 GB, free: 1.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006362/0.5812, allocations: 3.022 MB / 0.7227 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007929/0.582, allocations: 19.81 kB / 0.7227 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.5833, allocations: 313.9 kB / 0.723 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.5879, allocations: 1.444 MB / 0.7244 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.5902, allocations: 0.728 MB / 0.7251 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002567/0.5928, allocations: 1.571 MB / 0.7267 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007964/0.5936, allocations: 383.7 kB / 0.727 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.595, allocations: 0.5995 MB / 0.7276 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009447/0.5959, allocations: 458 kB / 0.7281 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.5961, allocations: 52 kB / 0.7281 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.5986, allocations: 0.921 MB / 0.729 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.5988, allocations: 159.4 kB / 0.7292 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000536/0.5994, allocations: 302.8 kB / 0.7295 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.6023, allocations: 1.448 MB / 0.7309 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6023, allocations: 0 / 0.7309 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6023, allocations: 0 / 0.7309 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.233e-05/0.6024, allocations: 0 / 0.7309 GB, free: 6.391 MB / 0.5606 GB 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.002309/0.6047, allocations: 1.002 MB / 0.7319 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6047, allocations: 8.031 kB / 0.7319 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.6058, allocations: 143.5 kB / 0.732 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.6068, allocations: 437.6 kB / 0.7324 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/0.6069, allocations: 32.94 kB / 0.7324 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.607, allocations: 44 kB / 0.7325 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.6084, allocations: 0.8918 MB / 0.7334 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.6084, allocations: 0 / 0.7334 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/0.6085, allocations: 20 kB / 0.7334 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.6085, allocations: 15.94 kB / 0.7334 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.6096, allocations: 483.6 kB / 0.7339 GB, free: 3.168 MB / 0.5606 GB 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.003185/0.6128, allocations: 1.896 MB / 0.7357 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/0.6136, allocations: 323.5 kB / 0.736 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.614, allocations: 161.3 kB / 0.7362 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.6142, allocations: 52.23 kB / 0.7362 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.6142, allocations: 38.84 kB / 0.7363 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/0.6143, allocations: 0 / 0.7363 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.2617/0.8759, allocations: 0.6453 MB / 0.7369 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.876, allocations: 136.3 kB / 0.737 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.8767, allocations: 425.9 kB / 0.7374 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.706e-05/0.8768, allocations: 33.36 kB / 0.7375 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.877, allocations: 298.3 kB / 0.7377 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.8772, allocations: 126.9 kB / 0.7379 GB, free: 176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.8774, allocations: 101 kB / 0.738 GB, free: 176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.8775, allocations: 351 kB / 0.7383 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.8779, allocations: 150.1 kB / 0.7384 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.8784, allocations: 368 kB / 0.7388 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008169/0.8793, allocations: 440.6 kB / 0.7392 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8793, allocations: 5.031 kB / 0.7392 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00122/0.8805, allocations: 0.5419 MB / 0.7397 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.8805, allocations: 13.31 kB / 0.7398 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.8805, allocations: 3.375 kB / 0.7398 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.8821, allocations: 243.9 kB / 0.74 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.8825, allocations: 105.3 kB / 0.7401 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003774/0.8828, allocations: 0.5983 MB / 0.7407 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.8832, allocations: 40.55 kB / 0.7407 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.8833, allocations: 45.83 kB / 0.7408 GB, free: 174.2 MB / 0.5606 GB 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.0002667/0.8835, allocations: 184.9 kB / 0.7409 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.8836, allocations: 52.72 kB / 0.741 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.8855, allocations: 1.094 MB / 0.742 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.8855, allocations: 3.656 kB / 0.7421 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8855, allocations: 0 / 0.7421 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8855, allocations: 10.12 kB / 0.7421 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.8868, allocations: 0.8653 MB / 0.7429 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.8868, allocations: 5.594 kB / 0.7429 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.887, allocations: 51.38 kB / 0.743 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003088/0.8901, allocations: 448.5 kB / 0.7434 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.8901, allocations: 8 kB / 0.7434 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003353/0.8904, allocations: 0.6087 MB / 0.744 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8905, allocations: 8.734 kB / 0.744 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006993/0.8911, allocations: 0.5047 MB / 0.7445 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/0.8912, allocations: 49.36 kB / 0.7445 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-05/0.8913, allocations: 15.89 kB / 0.7446 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.8916, allocations: 15.94 kB / 0.7446 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.8917, allocations: 31.14 kB / 0.7446 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.8917, allocations: 19.69 kB / 0.7446 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003334/0.8921, allocations: 342.9 kB / 0.7449 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8921, allocations: 3.406 kB / 0.7449 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008462/0.8929, allocations: 291.2 kB / 0.7452 GB, free: 171.3 MB / 0.5606 GB 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.0007371/0.8937, allocations: 361.5 kB / 0.7456 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008512/0.8945, allocations: 366.3 kB / 0.7459 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.8945, allocations: 3.125 kB / 0.7459 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.8948, allocations: 155.8 kB / 0.7461 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.8961, allocations: 281.6 kB / 0.7463 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.8975, allocations: 0.935 MB / 0.7473 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.8976, allocations: 263.1 kB / 0.7475 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.898, allocations: 119.4 kB / 0.7476 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.898, allocations: 3.938 kB / 0.7476 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.0165/0.9145, allocations: 14.07 MB / 0.7614 GB, free: 154.8 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/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: 10.81851644301787]