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.001593/0.001593, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001761/0.001761, allocations: 211.4 kB / 24.48 MB, free: 3.938 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.235/0.235, allocations: 46.97 MB / 361.6 MB, free: 4.047 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.002017/0.002017, allocations: 71.88 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3437, allocations: 66.04 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2091/0.5528, allocations: 161.7 MB / 0.7198 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005874/0.5586, allocations: 3.022 MB / 0.7227 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006373/0.5593, allocations: 23.75 kB / 0.7227 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.5603, allocations: 317.9 kB / 0.723 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.5644, allocations: 1.421 MB / 0.7244 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.5666, allocations: 0.747 MB / 0.7251 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002409/0.569, allocations: 1.582 MB / 0.7267 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.5697, allocations: 371.8 kB / 0.727 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.5707, allocations: 0.6111 MB / 0.7276 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006892/0.5714, allocations: 482.1 kB / 0.7281 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.738e-05/0.5715, allocations: 52 kB / 0.7282 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.5737, allocations: 0.9478 MB / 0.7291 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.5739, allocations: 163.4 kB / 0.7292 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003757/0.5743, allocations: 298.8 kB / 0.7295 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.5766, allocations: 1.441 MB / 0.7309 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5766, allocations: 0 / 0.7309 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5766, allocations: 3.938 kB / 0.7309 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.5766, 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.002004/0.5786, allocations: 0.9984 MB / 0.7319 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.5786, allocations: 12.03 kB / 0.7319 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5796, allocations: 143.5 kB / 0.7321 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009288/0.5806, allocations: 437.6 kB / 0.7325 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.5806, allocations: 36.88 kB / 0.7325 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.5807, allocations: 44 kB / 0.7325 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.582, allocations: 0.8957 MB / 0.7334 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.582, allocations: 3.938 kB / 0.7334 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/0.5821, allocations: 20 kB / 0.7334 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.5821, allocations: 19.98 kB / 0.7335 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009652/0.5831, allocations: 475.6 kB / 0.7339 GB, free: 3.156 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.002934/0.586, allocations: 1.896 MB / 0.7358 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/0.5868, allocations: 323.5 kB / 0.7361 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.5871, allocations: 153.3 kB / 0.7362 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.5874, allocations: 56.23 kB / 0.7363 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.5874, allocations: 46.84 kB / 0.7363 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.5874, allocations: 0 / 0.7363 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.2638/0.8513, allocations: 0.6452 MB / 0.737 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.8513, allocations: 133.2 kB / 0.7371 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/0.852, allocations: 431.2 kB / 0.7375 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.833e-05/0.8521, allocations: 32.98 kB / 0.7375 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.8523, allocations: 296.3 kB / 0.7378 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.8525, allocations: 122.9 kB / 0.7379 GB, free: 176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.8527, allocations: 101 kB / 0.738 GB, free: 176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.8528, allocations: 355 kB / 0.7384 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.8532, allocations: 150.4 kB / 0.7385 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.8537, allocations: 365.4 kB / 0.7389 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/0.8545, allocations: 441.1 kB / 0.7393 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.8545, allocations: 1.219 kB / 0.7393 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001189/0.8557, allocations: 0.543 MB / 0.7398 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8557, allocations: 10.25 kB / 0.7398 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.8558, allocations: 3.969 kB / 0.7398 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.8574, allocations: 246.1 kB / 0.7401 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.8578, allocations: 108.5 kB / 0.7402 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003844/0.8582, allocations: 0.5919 MB / 0.7407 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.8585, allocations: 44.73 kB / 0.7408 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.615e-05/0.8586, allocations: 45.66 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.0002456/0.8588, allocations: 187 kB / 0.741 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.8589, allocations: 51.08 kB / 0.741 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.8607, allocations: 1.089 MB / 0.7421 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.8607, allocations: 3.594 kB / 0.7421 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8607, allocations: 0 / 0.7421 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8607, allocations: 7.156 kB / 0.7421 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.8619, allocations: 0.8676 MB / 0.743 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.8619, allocations: 0 / 0.743 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.8621, allocations: 56.59 kB / 0.743 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00325/0.8654, allocations: 454.5 kB / 0.7435 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.8654, allocations: 8 kB / 0.7435 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003097/0.8657, allocations: 0.618 MB / 0.7441 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8657, allocations: 4.031 kB / 0.7441 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006585/0.8664, allocations: 0.5062 MB / 0.7446 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.8664, allocations: 48.08 kB / 0.7446 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.502e-05/0.8665, allocations: 8 kB / 0.7446 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.8668, allocations: 15.98 kB / 0.7446 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.8669, allocations: 29.16 kB / 0.7447 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.8669, allocations: 25.89 kB / 0.7447 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003061/0.8672, allocations: 335.1 kB / 0.745 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8672, allocations: 1.625 kB / 0.745 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008268/0.8681, allocations: 298.7 kB / 0.7453 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.0006717/0.8687, allocations: 361.9 kB / 0.7456 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007245/0.8695, allocations: 371.1 kB / 0.746 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8695, allocations: 8.062 kB / 0.746 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.8698, allocations: 155.8 kB / 0.7461 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.8709, allocations: 274.8 kB / 0.7464 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.8721, allocations: 0.9373 MB / 0.7473 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.8722, allocations: 259.2 kB / 0.7476 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.8726, allocations: 122.5 kB / 0.7477 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.8726, allocations: 0 / 0.7477 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.01437/0.8869, 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.780957763985498]