Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 79.64 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 162.6 kB / 24.99 MB, free: 9.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9402/0.9402, allocations: 177 MB / 205.2 MB, free: 5.207 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2859/0.2859, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 378.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.178e-05, allocations: 3.016 kB / 378.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3104/0.3104, allocations: 179.9 MB / 0.5456 GB, free: 10.08 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00457/0.3149, allocations: 3.266 MB / 0.5488 GB, free: 7.906 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.3154, allocations: 20.31 kB / 0.5488 GB, free: 7.895 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007543/0.3161, allocations: 316.9 kB / 0.5491 GB, free: 7.715 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.3189, allocations: 1.456 MB / 0.5505 GB, free: 6.789 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3202, allocations: 0.7494 MB / 0.5513 GB, free: 6.238 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.3216, allocations: 1.594 MB / 0.5528 GB, free: 5.301 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004381/0.322, allocations: 372.3 kB / 0.5532 GB, free: 5.039 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007949/0.3228, allocations: 0.8111 MB / 0.554 GB, free: 4.547 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.3233, allocations: 418.8 kB / 0.5544 GB, free: 4.332 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/0.3233, allocations: 54.03 kB / 0.5544 GB, free: 4.332 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.3246, allocations: 0.9072 MB / 0.5553 GB, free: 3.906 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3248, allocations: 168 kB / 0.5555 GB, free: 3.777 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.325, allocations: 251.3 kB / 0.5557 GB, free: 3.668 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.3264, allocations: 1.289 MB / 0.557 GB, free: 2.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3264, allocations: 0 / 0.557 GB, free: 2.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3264, allocations: 3.938 kB / 0.557 GB, free: 2.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3264, allocations: 4 kB / 0.557 GB, free: 2.617 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.001389/0.3278, allocations: 1.094 MB / 0.558 GB, free: 1.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3278, allocations: 12.03 kB / 0.558 GB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007763/0.3286, allocations: 227 kB / 0.5583 GB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.3292, allocations: 439.6 kB / 0.5587 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.3292, allocations: 33 kB / 0.5587 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.3293, allocations: 44 kB / 0.5588 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008121/0.3301, allocations: 0.8319 MB / 0.5596 GB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3301, allocations: 3.938 kB / 0.5596 GB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.3302, allocations: 24 kB / 0.5596 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.3302, allocations: 12 kB / 0.5596 GB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.3306, allocations: 277.6 kB / 0.5599 GB, free: 15.45 MB / 442.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.001934/0.3326, allocations: 2.288 MB / 0.5621 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.333, allocations: 208 kB / 0.5623 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3331, allocations: 84.3 kB / 0.5624 GB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.3333, allocations: 60.23 kB / 0.5624 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3333, allocations: 41.67 kB / 0.5625 GB, free: 12.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.3333, allocations: 0 / 0.5625 GB, free: 12.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009322/0.3342, allocations: 474.7 kB / 0.5629 GB, free: 12.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.3343, allocations: 132.5 kB / 0.5631 GB, free: 12.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.3346, allocations: 450.5 kB / 0.5635 GB, free: 11.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.3347, allocations: 33.7 kB / 0.5635 GB, free: 11.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.3348, allocations: 351 kB / 0.5639 GB, free: 11.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.3349, allocations: 123 kB / 0.564 GB, free: 11.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.335, allocations: 111.8 kB / 0.5641 GB, free: 10.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3352, allocations: 0.5274 MB / 0.5646 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3353, allocations: 68.95 kB / 0.5647 GB, free: 10.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.3357, allocations: 336.4 kB / 0.565 GB, free: 9.922 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.336, allocations: 323.3 kB / 0.5653 GB, free: 9.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.336, allocations: 1.938 kB / 0.5653 GB, free: 9.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005248/0.3365, allocations: 412.6 kB / 0.5657 GB, free: 9.129 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3366, allocations: 8 kB / 0.5657 GB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3366, allocations: 4 kB / 0.5657 GB, free: 9.117 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007269/0.3373, allocations: 199.8 kB / 0.5659 GB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.3375, allocations: 103.9 kB / 0.566 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003771/0.3379, allocations: 0.835 MB / 0.5668 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.338, allocations: 43.75 kB / 0.5668 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.3381, allocations: 44 kB / 0.5669 GB, free: 7.863 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.0001499/0.3382, allocations: 180.5 kB / 0.5671 GB, free: 7.676 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.3383, allocations: 63.66 kB / 0.5671 GB, free: 7.613 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.3394, allocations: 0.9922 MB / 0.5681 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3395, allocations: 4 kB / 0.5681 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3395, allocations: 0 / 0.5681 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3395, allocations: 3.984 kB / 0.5681 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007554/0.3402, allocations: 0.7815 MB / 0.5689 GB, free: 5.754 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3402, allocations: 4 kB / 0.5689 GB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3403, allocations: 47.91 kB / 0.5689 GB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.3416, allocations: 351.3 kB / 0.5692 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.3416, allocations: 8 kB / 0.5693 GB, free: 5.348 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003314/0.3419, allocations: 0.8429 MB / 0.5701 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3419, allocations: 5.562 kB / 0.5701 GB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.3423, allocations: 453.9 kB / 0.5705 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.3424, allocations: 47.64 kB / 0.5706 GB, free: 3.934 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.3424, allocations: 19.91 kB / 0.5706 GB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3426, allocations: 12 kB / 0.5706 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.3426, allocations: 31.89 kB / 0.5706 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.3427, allocations: 15.98 kB / 0.5706 GB, free: 3.855 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002382/0.3429, allocations: 327 kB / 0.5709 GB, free: 3.535 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3429, allocations: 0 / 0.5709 GB, free: 3.535 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005994/0.3435, allocations: 303.1 kB / 0.5712 GB, free: 3.238 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.0005697/0.3441, allocations: 374.4 kB / 0.5716 GB, free: 2.863 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.3445, allocations: 249.4 kB / 0.5718 GB, free: 2.617 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3445, allocations: 8.188 kB / 0.5718 GB, free: 2.609 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.3448, allocations: 119.7 kB / 0.572 GB, free: 2.488 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/0.3456, allocations: 301 kB / 0.5722 GB, free: 2.215 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3468, allocations: 0.8319 MB / 0.5731 GB, free: 1.332 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.247e-05/0.3469, allocations: 126.4 kB / 0.5732 GB, free: 1.188 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006257/0.3475, allocations: 0.546 MB / 0.5737 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.3477, allocations: 84.47 kB / 0.5738 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of SimCode: time 1.073e-06/0.3477, allocations: 0 / 0.5738 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of Templates: time 0.01577/0.3634, allocations: 14.56 MB / 0.588 GB, free: 2.227 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.747358546126634]