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.001099/0.001099, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.000982/0.000982, allocations: 167.7 kB / 24.99 MB, free: 8.797 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.9264/0.9264, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2406/0.2406, allocations: 34.26 MB / 296 MB, free: 0.7617 MB / 266.7 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.[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.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.[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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.29e-05, allocations: 2.312 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3318/0.3318, allocations: 179.9 MB / 0.5449 GB, free: 10.63 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004591/0.3364, allocations: 3.264 MB / 0.5481 GB, free: 8.457 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005474/0.337, allocations: 23.19 kB / 0.5481 GB, free: 8.445 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008469/0.3378, allocations: 319.5 kB / 0.5484 GB, free: 8.262 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003106/0.3409, allocations: 1.458 MB / 0.5498 GB, free: 7.426 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.3423, allocations: 0.7417 MB / 0.5505 GB, free: 6.883 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.3441, allocations: 1.594 MB / 0.5521 GB, free: 5.945 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005452/0.3446, allocations: 372.9 kB / 0.5525 GB, free: 5.684 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009855/0.3456, allocations: 0.8179 MB / 0.5533 GB, free: 5.184 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.3461, allocations: 410.9 kB / 0.5536 GB, free: 4.977 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.3462, allocations: 54.66 kB / 0.5537 GB, free: 4.977 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.3478, allocations: 0.9101 MB / 0.5546 GB, free: 4.547 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.348, allocations: 168.7 kB / 0.5547 GB, free: 4.418 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.3482, allocations: 255.6 kB / 0.555 GB, free: 4.305 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.35, allocations: 1.289 MB / 0.5562 GB, free: 3.504 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.35, allocations: 0 / 0.5562 GB, free: 3.504 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.35, allocations: 4 kB / 0.5563 GB, free: 3.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3501, allocations: 0 / 0.5563 GB, free: 3.5 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.001524/0.3516, allocations: 1.102 MB / 0.5573 GB, free: 2.359 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3516, allocations: 8.031 kB / 0.5573 GB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008059/0.3524, allocations: 223.1 kB / 0.5575 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.353, allocations: 443.4 kB / 0.558 GB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.3531, allocations: 29 kB / 0.558 GB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.3531, allocations: 48 kB / 0.558 GB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3542, allocations: 0.8242 MB / 0.5589 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3542, allocations: 11.88 kB / 0.5589 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.3542, allocations: 16 kB / 0.5589 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3543, allocations: 16 kB / 0.5589 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.3547, allocations: 277.6 kB / 0.5592 GB, free: 340 kB / 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.001846/0.3565, allocations: 2.284 MB / 0.5614 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.3569, allocations: 208 kB / 0.5616 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.3571, allocations: 88.2 kB / 0.5617 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.3572, allocations: 56.19 kB / 0.5617 GB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3573, allocations: 37.67 kB / 0.5618 GB, free: 13.56 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.555e-06/0.3573, allocations: 0 / 0.5618 GB, free: 13.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009921/0.3583, allocations: 482.7 kB / 0.5622 GB, free: 13.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3583, allocations: 136.5 kB / 0.5623 GB, free: 12.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.3586, allocations: 450.5 kB / 0.5628 GB, free: 12.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3587, allocations: 33.7 kB / 0.5628 GB, free: 12.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.3589, allocations: 347.1 kB / 0.5631 GB, free: 12.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/0.3589, allocations: 119 kB / 0.5633 GB, free: 11.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.359, allocations: 115.8 kB / 0.5634 GB, free: 11.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3592, allocations: 0.5274 MB / 0.5639 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3593, allocations: 68.95 kB / 0.5639 GB, free: 11.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.3595, allocations: 332.4 kB / 0.5643 GB, free: 10.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.3599, allocations: 327.2 kB / 0.5646 GB, free: 10.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3599, allocations: 4 kB / 0.5646 GB, free: 10.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005156/0.3604, allocations: 404.7 kB / 0.565 GB, free: 10.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3604, allocations: 8.625 kB / 0.565 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3604, allocations: 4 kB / 0.565 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009809/0.3614, allocations: 199.7 kB / 0.5652 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.3616, allocations: 103.8 kB / 0.5653 GB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003517/0.3619, allocations: 0.8312 MB / 0.5661 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.3621, allocations: 43.42 kB / 0.5661 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.3622, allocations: 53.64 kB / 0.5662 GB, free: 8.746 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.0001449/0.3623, allocations: 180.5 kB / 0.5663 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/0.3624, allocations: 59.66 kB / 0.5664 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.3634, allocations: 0.9893 MB / 0.5674 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3634, allocations: 4 kB / 0.5674 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3634, allocations: 3.375 kB / 0.5674 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3635, allocations: 0 / 0.5674 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007459/0.3642, allocations: 0.7812 MB / 0.5681 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3642, allocations: 4 kB / 0.5681 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.3643, allocations: 47.92 kB / 0.5682 GB, free: 6.594 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.3656, allocations: 347.2 kB / 0.5685 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.3656, allocations: 8 kB / 0.5685 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003224/0.3659, allocations: 0.8467 MB / 0.5694 GB, free: 5.363 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3659, allocations: 4 kB / 0.5694 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.3663, allocations: 463.2 kB / 0.5698 GB, free: 4.863 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.3664, allocations: 39.66 kB / 0.5698 GB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.3664, allocations: 15.88 kB / 0.5699 GB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3666, allocations: 19.98 kB / 0.5699 GB, free: 4.789 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.3666, allocations: 23.95 kB / 0.5699 GB, free: 4.766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.3667, allocations: 20.03 kB / 0.5699 GB, free: 4.746 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002362/0.3669, allocations: 331 kB / 0.5702 GB, free: 4.426 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3669, allocations: 0 / 0.5702 GB, free: 4.426 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006309/0.3675, allocations: 295.2 kB / 0.5705 GB, free: 4.137 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.0005769/0.3681, allocations: 386 kB / 0.5709 GB, free: 3.754 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.3685, allocations: 252.8 kB / 0.5711 GB, free: 3.504 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3686, allocations: 4 kB / 0.5711 GB, free: 3.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.3687, allocations: 116.6 kB / 0.5712 GB, free: 3.383 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.3695, allocations: 302.3 kB / 0.5715 GB, free: 3.109 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3709, allocations: 0.8402 MB / 0.5723 GB, free: 2.219 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.761e-05/0.371, allocations: 126.4 kB / 0.5725 GB, free: 2.074 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006611/0.3717, allocations: 0.5399 MB / 0.573 GB, free: 1.535 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3718, allocations: 88.45 kB / 0.5731 GB, free: 1.449 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3718, allocations: 0 / 0.5731 GB, free: 1.449 MB / 442.7 MB Notification: Performance of Templates: time 0.01705/0.3889, allocations: 14.56 MB / 0.5873 GB, free: 3.125 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.7988965220283717]