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.00137/0.00137, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001593/0.001593, allocations: 211.2 kB / 23.72 MB, free: 4.391 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2263/0.2263, allocations: 44.94 MB / 358.8 MB, free: 6.035 MB / 286.1 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.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.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.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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 61.47 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3421, allocations: 65.47 MB / 0.5575 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2113/0.5534, allocations: 161.7 MB / 0.7154 GB, free: 5.133 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006115/0.5596, allocations: 3.034 MB / 0.7184 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000709/0.5603, allocations: 23.81 kB / 0.7184 GB, free: 2.066 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.5614, allocations: 309.9 kB / 0.7187 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.5657, allocations: 1.436 MB / 0.7201 GB, free: 336 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.5678, allocations: 0.7433 MB / 0.7208 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002322/0.5701, allocations: 1.579 MB / 0.7223 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007377/0.5708, allocations: 367.7 kB / 0.7227 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.5721, allocations: 0.6073 MB / 0.7233 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009176/0.573, allocations: 462 kB / 0.7237 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.5732, allocations: 52 kB / 0.7238 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.5753, allocations: 0.8971 MB / 0.7247 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.5755, allocations: 171.3 kB / 0.7248 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004494/0.576, allocations: 286.8 kB / 0.7251 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.579, allocations: 1.46 MB / 0.7265 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.579, allocations: 0 / 0.7265 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.579, allocations: 0 / 0.7265 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.269e-05/0.579, allocations: 0 / 0.7265 GB, free: 9.711 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.003028/0.5821, allocations: 0.9983 MB / 0.7275 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.5821, allocations: 12.03 kB / 0.7275 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.5833, allocations: 139.5 kB / 0.7276 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.5845, allocations: 441.6 kB / 0.7281 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.5845, allocations: 32.94 kB / 0.7281 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.387e-05/0.5846, allocations: 40 kB / 0.7281 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.586, allocations: 0.8957 MB / 0.729 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.586, allocations: 7.984 kB / 0.729 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.5861, allocations: 16 kB / 0.729 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.5861, allocations: 12 kB / 0.729 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.5872, allocations: 491.5 kB / 0.7295 GB, free: 6.477 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.003159/0.5903, allocations: 1.888 MB / 0.7313 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.5911, allocations: 323.5 kB / 0.7317 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.5915, allocations: 157.3 kB / 0.7318 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/0.5917, allocations: 56.23 kB / 0.7319 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.5917, allocations: 34.84 kB / 0.7319 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.5917, allocations: 7.938 kB / 0.7319 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001871/0.5936, allocations: 0.6554 MB / 0.7325 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.5937, allocations: 132.5 kB / 0.7327 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005824/0.5943, allocations: 429.9 kB / 0.7331 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/0.5944, allocations: 29.7 kB / 0.7331 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.5946, allocations: 292.3 kB / 0.7334 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.5947, allocations: 135 kB / 0.7335 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.5949, allocations: 106.1 kB / 0.7336 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.5951, allocations: 346.8 kB / 0.7339 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.5954, allocations: 152.8 kB / 0.7341 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.596, allocations: 368.7 kB / 0.7344 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008361/0.5968, allocations: 437.6 kB / 0.7349 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5968, allocations: 0 / 0.7349 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001136/0.5979, allocations: 0.5368 MB / 0.7354 GB, free: 168 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.598, allocations: 15.92 kB / 0.7354 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.598, allocations: 448 / 0.7354 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.315/0.9129, allocations: 248.3 kB / 0.7356 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.9135, allocations: 102.2 kB / 0.7357 GB, free: 179 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005257/0.914, allocations: 0.5951 MB / 0.7363 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.9144, allocations: 38.86 kB / 0.7363 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.9146, allocations: 45.61 kB / 0.7364 GB, free: 178.5 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.0003712/0.9149, allocations: 186.5 kB / 0.7366 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.9151, allocations: 53.91 kB / 0.7366 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.9176, allocations: 1.087 MB / 0.7377 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.9176, allocations: 4.062 kB / 0.7377 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.9176, allocations: 1.391 kB / 0.7377 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.9176, allocations: 2.234 kB / 0.7377 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.9191, allocations: 0.8754 MB / 0.7385 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.9191, allocations: 0 / 0.7385 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.9193, allocations: 54.89 kB / 0.7386 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/0.9223, allocations: 450 kB / 0.739 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.9223, allocations: 17.95 kB / 0.739 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003142/0.9226, allocations: 0.6032 MB / 0.7396 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.9226, allocations: 0 / 0.7396 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.9233, allocations: 0.5066 MB / 0.7401 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.9234, allocations: 49.52 kB / 0.7402 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.9235, allocations: 11.23 kB / 0.7402 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.9238, allocations: 20.22 kB / 0.7402 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.9238, allocations: 24.44 kB / 0.7402 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.9239, allocations: 19.62 kB / 0.7402 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003584/0.9242, allocations: 338.9 kB / 0.7406 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9242, allocations: 1.219 kB / 0.7406 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008288/0.925, allocations: 305.4 kB / 0.7409 GB, free: 176.6 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.0006266/0.9257, allocations: 365.5 kB / 0.7412 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007458/0.9264, allocations: 364.4 kB / 0.7416 GB, free: 176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9264, allocations: 2.375 kB / 0.7416 GB, free: 176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.9267, allocations: 152.7 kB / 0.7417 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.928, allocations: 286.9 kB / 0.742 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.9291, allocations: 0.9118 MB / 0.7429 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.9293, allocations: 265.7 kB / 0.7431 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007577/0.9301, allocations: 0.5349 MB / 0.7436 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.9303, allocations: 83.33 kB / 0.7437 GB, free: 174 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.9303, allocations: 4 kB / 0.7437 GB, free: 174 MB / 0.5606 GB Notification: Performance of Templates: time 0.02135/0.9516, allocations: 15.44 MB / 0.7588 GB, free: 158.8 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.41061008349061]