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.001271/0.001271, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001769/0.001769, allocations: 170.3 kB / 24.91 MB, free: 8.77 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.9696/0.9696, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2547/0.2547, allocations: 32.81 MB / 294.6 MB, free: 1.148 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.162e-06/1.162e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.145e-05, allocations: 4.703 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2871/0.2871, allocations: 148.2 MB / 471.4 MB, free: 16.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003722/0.2908, allocations: 3.086 MB / 474.5 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004751/0.2913, allocations: 22.47 kB / 474.5 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.2918, allocations: 189.5 kB / 474.7 MB, free: 16.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.2942, allocations: 1.237 MB / 475.9 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2953, allocations: 0.5804 MB / 476.5 MB, free: 16.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001774/0.2971, allocations: 1.568 MB / 478.1 MB, free: 16.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005523/0.2977, allocations: 383.2 kB / 478.5 MB, free: 16.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.2988, allocations: 0.7645 MB / 479.2 MB, free: 16.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006357/0.2995, allocations: 478.7 kB / 479.7 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.2996, allocations: 51.53 kB / 479.7 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.301, allocations: 0.8165 MB / 480.6 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.3012, allocations: 163.1 kB / 480.7 MB, free: 16.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000262/0.3014, allocations: 250 kB / 481 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.303, allocations: 1.205 MB / 482.2 MB, free: 16.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.303, allocations: 0 / 482.2 MB, free: 16.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.303, allocations: 0 / 482.2 MB, free: 16.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.303, allocations: 0 / 482.2 MB, free: 16.11 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.001155/0.3042, allocations: 0.9344 MB / 483.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.3042, allocations: 11.97 kB / 483.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.3048, allocations: 215.1 kB / 483.3 MB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.3052, allocations: 384.7 kB / 483.7 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3052, allocations: 32.22 kB / 483.7 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.3053, allocations: 48.78 kB / 483.8 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.3057, allocations: 0.7452 MB / 484.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3057, allocations: 4 kB / 484.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.3058, allocations: 23.97 kB / 484.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3058, allocations: 12.91 kB / 484.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.306, allocations: 217.1 kB / 484.8 MB, free: 14.79 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.001173/0.3072, allocations: 1.57 MB / 486.3 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.3075, allocations: 162.4 kB / 486.5 MB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.182e-05/0.3075, allocations: 107.3 kB / 486.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.3077, allocations: 87.91 kB / 486.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.3077, allocations: 41.94 kB / 486.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.3077, allocations: 2.344 kB / 486.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006033/0.3083, allocations: 349.3 kB / 487.1 MB, free: 13.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.3084, allocations: 134.4 kB / 487.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.3085, allocations: 365.8 kB / 487.6 MB, free: 13.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.3086, allocations: 31.89 kB / 487.6 MB, free: 13.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.3086, allocations: 244.1 kB / 487.8 MB, free: 13.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.3087, allocations: 129.5 kB / 488 MB, free: 13.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.843e-05/0.3088, allocations: 86.77 kB / 488 MB, free: 13.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.712e-05/0.3088, allocations: 356.8 kB / 488.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.3089, allocations: 49.86 kB / 488.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.309, allocations: 260.8 kB / 488.7 MB, free: 12.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.3092, allocations: 254.4 kB / 488.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3092, allocations: 2.938 kB / 488.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002944/0.3095, allocations: 270.5 kB / 489.2 MB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3095, allocations: 11.5 kB / 489.2 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3095, allocations: 3.5 kB / 489.2 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/0.3101, allocations: 199.7 kB / 489.4 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.3103, allocations: 92.03 kB / 489.5 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001709/0.3105, allocations: 0.5508 MB / 490.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.3106, allocations: 40 kB / 490.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.3106, allocations: 39.64 kB / 490.1 MB, free: 11.73 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.0001233/0.3108, allocations: 142.1 kB / 490.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.3108, allocations: 43.5 kB / 490.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008133/0.3116, allocations: 0.8716 MB / 491.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3116, allocations: 2.438 kB / 491.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.3116, allocations: 0 / 491.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3116, allocations: 2.438 kB / 491.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.3122, allocations: 0.5736 MB / 491.8 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3122, allocations: 3 kB / 491.8 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.3123, allocations: 50.78 kB / 491.8 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000979/0.3133, allocations: 309 kB / 492.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3133, allocations: 12.16 kB / 492.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001481/0.3135, allocations: 0.556 MB / 492.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3135, allocations: 4.125 kB / 492.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.3137, allocations: 321.8 kB / 493 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.3137, allocations: 54.8 kB / 493.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.3138, allocations: 11.88 kB / 493.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3139, allocations: 11.97 kB / 493.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.3139, allocations: 29.56 kB / 493.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.314, allocations: 18.39 kB / 493.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.3141, allocations: 172.8 kB / 493.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3141, allocations: 0 / 493.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005362/0.3146, allocations: 284.2 kB / 493.6 MB, free: 10.35 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.0004732/0.3151, allocations: 343.9 kB / 493.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.3154, allocations: 199 kB / 494.1 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.3154, allocations: 5.656 kB / 494.1 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.152e-05/0.3155, allocations: 89.17 kB / 494.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.3161, allocations: 294.7 kB / 494.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/0.3171, allocations: 0.8298 MB / 495.3 MB, free: 9.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.27e-05/0.3171, allocations: 128.7 kB / 495.4 MB, free: 9.602 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005307/0.3177, allocations: 480.7 kB / 495.9 MB, free: 9.527 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/0.3181, allocations: 297 kB / 496.2 MB, free: 9.461 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3181, allocations: 0 / 496.2 MB, free: 9.461 MB / 410.7 MB Notification: Performance of Templates: time 0.0156/0.3337, allocations: 15.83 MB / 0.5 GB, free: 0.8945 MB / 410.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: 3.6596820186823606]