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.001605/0.001605, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0013/0.0013, allocations: 162.6 kB / 24.99 MB, free: 9.273 MB / 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 0.9716/0.9716, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2684/0.2684, allocations: 32.81 MB / 294.6 MB, free: 1.211 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.432e-06/1.432e-06, allocations: 0 / 376 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.465e-05, allocations: 2.312 kB / 376 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3399/0.3399, allocations: 179.9 MB / 0.5429 GB, free: 12.74 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004251/0.3441, allocations: 3.255 MB / 0.5461 GB, free: 10.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005505/0.3447, allocations: 20.47 kB / 0.5461 GB, free: 10.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007937/0.3455, allocations: 326.7 kB / 0.5464 GB, free: 10.38 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.3484, allocations: 1.457 MB / 0.5478 GB, free: 9.609 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.3499, allocations: 0.7544 MB / 0.5486 GB, free: 9.199 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.3517, allocations: 1.588 MB / 0.5501 GB, free: 8.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008945/0.3526, allocations: 376.7 kB / 0.5505 GB, free: 8.004 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.3539, allocations: 0.8057 MB / 0.5513 GB, free: 7.516 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005752/0.3545, allocations: 410.8 kB / 0.5517 GB, free: 7.309 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-05/0.3546, allocations: 51.38 kB / 0.5517 GB, free: 7.309 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.3562, allocations: 0.9128 MB / 0.5526 GB, free: 6.879 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.3564, allocations: 172.2 kB / 0.5528 GB, free: 6.746 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.3566, allocations: 255.5 kB / 0.553 GB, free: 6.633 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.3584, allocations: 1.291 MB / 0.5543 GB, free: 5.891 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3584, allocations: 0 / 0.5543 GB, free: 5.891 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3584, allocations: 0 / 0.5543 GB, free: 5.891 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.3584, allocations: 0 / 0.5543 GB, free: 5.891 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.001449/0.3599, allocations: 1.107 MB / 0.5554 GB, free: 5.016 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3599, allocations: 8.125 kB / 0.5554 GB, free: 5.016 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/0.3607, allocations: 215.7 kB / 0.5556 GB, free: 4.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005508/0.3612, allocations: 438.5 kB / 0.556 GB, free: 4.578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3613, allocations: 33.84 kB / 0.556 GB, free: 4.562 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.3613, allocations: 47.84 kB / 0.5561 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007538/0.3621, allocations: 0.8256 MB / 0.5569 GB, free: 3.781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.3621, allocations: 7.922 kB / 0.5569 GB, free: 3.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/0.3622, allocations: 24.94 kB / 0.5569 GB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3622, allocations: 12.09 kB / 0.5569 GB, free: 3.754 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.3626, allocations: 269.8 kB / 0.5572 GB, free: 3.508 MB / 426.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.001906/0.3645, allocations: 2.295 MB / 0.5594 GB, free: 1.129 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.3649, allocations: 212 kB / 0.5596 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.365, allocations: 88.2 kB / 0.5597 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.3652, allocations: 52.23 kB / 0.5598 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3653, allocations: 41.67 kB / 0.5598 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.385e-06/0.3653, allocations: 0 / 0.5598 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001006/0.3663, allocations: 482.7 kB / 0.5603 GB, free: 244 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.3663, allocations: 132.5 kB / 0.5604 GB, free: 80 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.3667, allocations: 454.5 kB / 0.5608 GB, free: 15.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.3667, allocations: 33.7 kB / 0.5608 GB, free: 15.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.3669, allocations: 343 kB / 0.5612 GB, free: 15.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.367, allocations: 123 kB / 0.5613 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3671, allocations: 111.8 kB / 0.5614 GB, free: 15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3672, allocations: 0.5274 MB / 0.5619 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3674, allocations: 72.95 kB / 0.562 GB, free: 14.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.3676, allocations: 333 kB / 0.5623 GB, free: 13.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.368, allocations: 327.3 kB / 0.5626 GB, free: 13.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.368, allocations: 0 / 0.5626 GB, free: 13.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005517/0.3685, allocations: 412.7 kB / 0.563 GB, free: 13.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3685, allocations: 8 kB / 0.563 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3686, allocations: 4 kB / 0.563 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007403/0.3693, allocations: 199.7 kB / 0.5632 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.3695, allocations: 99.89 kB / 0.5633 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003981/0.3699, allocations: 0.8389 MB / 0.5641 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.3701, allocations: 35.73 kB / 0.5642 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.3702, allocations: 43.98 kB / 0.5642 GB, free: 11.91 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.0001687/0.3703, allocations: 180.5 kB / 0.5644 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.3704, allocations: 63.66 kB / 0.5644 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.3715, allocations: 0.9881 MB / 0.5654 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.3715, allocations: 4.938 kB / 0.5654 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3715, allocations: 0 / 0.5654 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.3715, allocations: 3.938 kB / 0.5654 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.3725, allocations: 0.7812 MB / 0.5662 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3725, allocations: 7.969 kB / 0.5662 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.3726, allocations: 51.92 kB / 0.5662 GB, free: 9.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.3738, allocations: 346.5 kB / 0.5666 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.3738, allocations: 16 kB / 0.5666 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000392/0.3742, allocations: 0.8351 MB / 0.5674 GB, free: 8.523 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3742, allocations: 6.203 kB / 0.5674 GB, free: 8.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.3747, allocations: 455.3 kB / 0.5678 GB, free: 8.031 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.3748, allocations: 51.64 kB / 0.5679 GB, free: 7.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.3748, allocations: 15.88 kB / 0.5679 GB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.375, allocations: 15.98 kB / 0.5679 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.375, allocations: 23.91 kB / 0.5679 GB, free: 7.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.3751, allocations: 24.02 kB / 0.5679 GB, free: 7.902 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002745/0.3753, allocations: 323 kB / 0.5683 GB, free: 7.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3753, allocations: 0 / 0.5683 GB, free: 7.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007546/0.3761, allocations: 303.1 kB / 0.5685 GB, free: 7.293 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.000673/0.3768, allocations: 378.4 kB / 0.5689 GB, free: 6.914 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004962/0.3773, allocations: 256.8 kB / 0.5692 GB, free: 6.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3773, allocations: 0 / 0.5692 GB, free: 6.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.3774, allocations: 112.3 kB / 0.5693 GB, free: 6.547 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000829/0.3783, allocations: 305.1 kB / 0.5696 GB, free: 6.273 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.3796, allocations: 0.8368 MB / 0.5704 GB, free: 5.391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.953e-05/0.3796, allocations: 130.4 kB / 0.5705 GB, free: 5.242 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000669/0.3803, allocations: 0.5428 MB / 0.571 GB, free: 4.699 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.3805, allocations: 88.44 kB / 0.5711 GB, free: 4.613 MB / 442.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3805, allocations: 0 / 0.5711 GB, free: 4.613 MB / 442.7 MB Notification: Performance of Templates: time 0.01736/0.3978, allocations: 14.56 MB / 0.5853 GB, free: 6.289 MB / 458.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.07189810089767]