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.001002/0.001002, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001065/0.001065, allocations: 168.6 kB / 25.61 MB, free: 8.902 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.9055/0.9055, allocations: 177.1 MB / 206.1 MB, free: 4.488 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.1617/0.1617, allocations: 34.26 MB / 296.9 MB, free: 13.92 MB / 282.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 1.573e-06/1.573e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.205e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3042/0.3043, allocations: 146 MB / 0.513 GB, free: 16.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003949/0.3082, allocations: 3.005 MB / 0.516 GB, free: 16.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.3087, allocations: 26.62 kB / 0.516 GB, free: 16.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004821/0.3092, allocations: 187.8 kB / 0.5162 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.3114, allocations: 1.225 MB / 0.5174 GB, free: 16.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.3125, allocations: 0.5826 MB / 0.5179 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.3141, allocations: 1.566 MB / 0.5195 GB, free: 16.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006104/0.3147, allocations: 376.6 kB / 0.5198 GB, free: 16.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.3159, allocations: 0.7728 MB / 0.5206 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006593/0.3165, allocations: 494.2 kB / 0.5211 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.3167, allocations: 51.91 kB / 0.5211 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.318, allocations: 0.8097 MB / 0.5219 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.3181, allocations: 174 kB / 0.5221 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.3184, allocations: 247.2 kB / 0.5223 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.3198, allocations: 1.2 MB / 0.5235 GB, free: 15.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3198, allocations: 0 / 0.5235 GB, free: 15.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3198, allocations: 0 / 0.5235 GB, free: 15.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.3198, allocations: 6.312 kB / 0.5235 GB, free: 15.83 MB / 410.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.001273/0.3211, allocations: 1.08 MB / 0.5245 GB, free: 15.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3211, allocations: 8.406 kB / 0.5245 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006262/0.3218, allocations: 224.9 kB / 0.5248 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.3222, allocations: 435.2 kB / 0.5252 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.3222, allocations: 35.12 kB / 0.5252 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.3223, allocations: 42.84 kB / 0.5252 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.3228, allocations: 0.7737 MB / 0.526 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3228, allocations: 0 / 0.526 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.3229, allocations: 21.09 kB / 0.526 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.3229, allocations: 11.97 kB / 0.526 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.3232, allocations: 230.6 kB / 0.5263 GB, free: 14.33 MB / 410.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.001371/0.3246, allocations: 2.204 MB / 0.5284 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.3249, allocations: 192.5 kB / 0.5286 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.325, allocations: 73.17 kB / 0.5287 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.3251, allocations: 51.91 kB / 0.5287 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3251, allocations: 44.88 kB / 0.5288 GB, free: 12.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.3251, allocations: 0 / 0.5288 GB, free: 12.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.000792/0.3259, allocations: 451 kB / 0.5292 GB, free: 12.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.3259, allocations: 136.4 kB / 0.5293 GB, free: 12.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.3262, allocations: 433.7 kB / 0.5297 GB, free: 12.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3262, allocations: 39.14 kB / 0.5298 GB, free: 12.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.3263, allocations: 346 kB / 0.5301 GB, free: 12.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.3264, allocations: 126.8 kB / 0.5302 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3265, allocations: 109.9 kB / 0.5303 GB, free: 11.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.3266, allocations: 0.5303 MB / 0.5308 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.3267, allocations: 60.08 kB / 0.5309 GB, free: 11.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3268, allocations: 320 kB / 0.5312 GB, free: 11.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.3271, allocations: 300.6 kB / 0.5315 GB, free: 10.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3271, allocations: 2.594 kB / 0.5315 GB, free: 10.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004414/0.3275, allocations: 377.7 kB / 0.5318 GB, free: 10.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3275, allocations: 8.656 kB / 0.5319 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3275, allocations: 6.781 kB / 0.5319 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006819/0.3282, allocations: 200.1 kB / 0.5321 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.3284, allocations: 99.27 kB / 0.5321 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002495/0.3287, allocations: 0.8287 MB / 0.533 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.3288, allocations: 39.53 kB / 0.533 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.3289, allocations: 41.3 kB / 0.533 GB, free: 10.05 MB / 410.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.0001303/0.329, allocations: 187.4 kB / 0.5332 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.3291, allocations: 64.92 kB / 0.5333 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000991/0.3301, allocations: 0.9549 MB / 0.5342 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3301, allocations: 5.344 kB / 0.5342 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3301, allocations: 0 / 0.5342 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3301, allocations: 0 / 0.5342 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.3308, allocations: 0.7548 MB / 0.535 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3308, allocations: 2.281 kB / 0.535 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3309, allocations: 49.98 kB / 0.535 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.3321, allocations: 317.9 kB / 0.5353 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3321, allocations: 15.38 kB / 0.5353 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002064/0.3323, allocations: 0.8409 MB / 0.5361 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3323, allocations: 2.219 kB / 0.5361 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.3326, allocations: 451 kB / 0.5366 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.3327, allocations: 55.88 kB / 0.5366 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.3327, allocations: 12.92 kB / 0.5366 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3329, allocations: 19.77 kB / 0.5367 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.3329, allocations: 32.95 kB / 0.5367 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.3329, allocations: 13.98 kB / 0.5367 GB, free: 8.129 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.3331, allocations: 299.6 kB / 0.537 GB, free: 8.004 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3331, allocations: 0 / 0.537 GB, free: 8.004 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005942/0.3337, allocations: 279.4 kB / 0.5373 GB, free: 7.957 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.0005084/0.3342, allocations: 364.3 kB / 0.5376 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003541/0.3345, allocations: 225.2 kB / 0.5378 GB, free: 7.801 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3345, allocations: 0 / 0.5378 GB, free: 7.801 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3347, allocations: 110.7 kB / 0.5379 GB, free: 7.781 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007865/0.3355, allocations: 308.8 kB / 0.5382 GB, free: 7.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.3365, allocations: 0.8422 MB / 0.539 GB, free: 7.227 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.951e-05/0.3366, allocations: 131.9 kB / 0.5392 GB, free: 7.148 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005835/0.3371, allocations: 475.9 kB / 0.5396 GB, free: 7.074 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/0.3376, allocations: 350.7 kB / 0.54 GB, free: 7 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3376, allocations: 0 / 0.54 GB, free: 7 MB / 410.7 MB Notification: Performance of Templates: time 0.01698/0.3546, allocations: 16.1 MB / 0.5557 GB, free: 13.73 MB / 426.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.847338101826608]