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.001144/0.001144, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.0011/0.0011, allocations: 167.1 kB / 24.82 MB, free: 8.863 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.9629/0.9629, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2205/0.2205, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.563e-06/1.563e-06, allocations: 0 / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.516e-05, allocations: 2.312 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2737/0.2737, allocations: 146.1 MB / 0.5103 GB, free: 18.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003955/0.2776, allocations: 3.022 MB / 0.5133 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.2779, allocations: 21.44 kB / 0.5133 GB, free: 16.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.2784, allocations: 188.5 kB / 0.5135 GB, free: 16.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.2806, allocations: 1.231 MB / 0.5147 GB, free: 16.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009306/0.2816, allocations: 0.5955 MB / 0.5152 GB, free: 15.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.2827, allocations: 1.553 MB / 0.5168 GB, free: 15.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.2831, allocations: 373.5 kB / 0.5171 GB, free: 14.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006842/0.2837, allocations: 0.7692 MB / 0.5179 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004828/0.2842, allocations: 490.5 kB / 0.5183 GB, free: 14.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.28e-05/0.2843, allocations: 52.78 kB / 0.5184 GB, free: 14.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.2853, allocations: 0.8072 MB / 0.5192 GB, free: 14.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2855, allocations: 174.7 kB / 0.5193 GB, free: 14.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.2856, allocations: 249.9 kB / 0.5196 GB, free: 13.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.2868, allocations: 1.203 MB / 0.5207 GB, free: 13.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2868, allocations: 0 / 0.5207 GB, free: 13.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2868, allocations: 0 / 0.5207 GB, free: 13.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2868, allocations: 0 / 0.5207 GB, free: 13.51 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.001168/0.288, allocations: 1.086 MB / 0.5218 GB, free: 12.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.288, allocations: 10.56 kB / 0.5218 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007417/0.2888, allocations: 220.5 kB / 0.522 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.2892, allocations: 434.9 kB / 0.5224 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.2893, allocations: 45.3 kB / 0.5225 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.2893, allocations: 42.75 kB / 0.5225 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.2899, allocations: 0.7685 MB / 0.5233 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2899, allocations: 0 / 0.5233 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/0.2899, allocations: 24.19 kB / 0.5233 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.29, allocations: 11.12 kB / 0.5233 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.2903, allocations: 223.1 kB / 0.5235 GB, free: 11.67 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.001467/0.2918, allocations: 2.199 MB / 0.5257 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.2921, allocations: 198.1 kB / 0.5259 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.2922, allocations: 79.28 kB / 0.5259 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.2923, allocations: 57.16 kB / 0.526 GB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2923, allocations: 46.64 kB / 0.526 GB, free: 9.754 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.2923, allocations: 0 / 0.526 GB, free: 9.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008309/0.2932, allocations: 451.5 kB / 0.5265 GB, free: 9.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.2932, allocations: 134.2 kB / 0.5266 GB, free: 9.457 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.2934, allocations: 430.2 kB / 0.527 GB, free: 9.207 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2935, allocations: 32.64 kB / 0.527 GB, free: 9.172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.2936, allocations: 348.1 kB / 0.5274 GB, free: 8.883 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.2937, allocations: 126.3 kB / 0.5275 GB, free: 8.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.2938, allocations: 111.7 kB / 0.5276 GB, free: 8.727 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.2938, allocations: 0.5345 MB / 0.5281 GB, free: 8.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.2939, allocations: 63.28 kB / 0.5282 GB, free: 8.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.2941, allocations: 315.9 kB / 0.5285 GB, free: 7.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.2944, allocations: 300.5 kB / 0.5288 GB, free: 7.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2944, allocations: 0 / 0.5288 GB, free: 7.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004683/0.2948, allocations: 382.7 kB / 0.5291 GB, free: 7.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2949, allocations: 5.938 kB / 0.5291 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2949, allocations: 10.72 kB / 0.5291 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007344/0.2956, allocations: 197.1 kB / 0.5293 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.2958, allocations: 104.1 kB / 0.5294 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002129/0.296, allocations: 0.8244 MB / 0.5302 GB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.2962, allocations: 37.39 kB / 0.5303 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.2962, allocations: 41.48 kB / 0.5303 GB, free: 6.621 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.0001151/0.2964, allocations: 191.5 kB / 0.5305 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.243e-05/0.2964, allocations: 62.02 kB / 0.5306 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.2975, allocations: 0.9649 MB / 0.5315 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2975, allocations: 3.125 kB / 0.5315 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.2975, allocations: 0 / 0.5315 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2975, allocations: 0 / 0.5315 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007194/0.2982, allocations: 0.7556 MB / 0.5322 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2982, allocations: 0 / 0.5322 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.2984, allocations: 51.58 kB / 0.5323 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.2998, allocations: 322.3 kB / 0.5326 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.2998, allocations: 12.03 kB / 0.5326 GB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000197/0.3, allocations: 0.8386 MB / 0.5334 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3, allocations: 2.531 kB / 0.5334 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.3003, allocations: 455.4 kB / 0.5339 GB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.3004, allocations: 55.58 kB / 0.5339 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.3004, allocations: 16.64 kB / 0.5339 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.3006, allocations: 17.42 kB / 0.5339 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.3006, allocations: 28.58 kB / 0.534 GB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.3007, allocations: 17.23 kB / 0.534 GB, free: 4.324 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.3008, allocations: 295.9 kB / 0.5343 GB, free: 4.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3008, allocations: 0 / 0.5343 GB, free: 4.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005555/0.3014, allocations: 284.5 kB / 0.5345 GB, free: 4.105 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.0004627/0.3018, allocations: 355.6 kB / 0.5349 GB, free: 3.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.3022, allocations: 221.4 kB / 0.5351 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3022, allocations: 3.969 kB / 0.5351 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.3023, allocations: 113.4 kB / 0.5352 GB, free: 3.852 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/0.3031, allocations: 315.3 kB / 0.5355 GB, free: 3.762 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.304, allocations: 0.8419 MB / 0.5363 GB, free: 3.211 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.018e-05/0.3041, allocations: 132.6 kB / 0.5365 GB, free: 3.129 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005251/0.3046, allocations: 478.3 kB / 0.5369 GB, free: 3.051 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.3051, allocations: 351.1 kB / 0.5372 GB, free: 2.969 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3051, allocations: 2 kB / 0.5372 GB, free: 2.969 MB / 410.7 MB Notification: Performance of Templates: time 0.01552/0.3206, allocations: 15.91 MB / 0.5528 GB, free: 7.23 MB / 426.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.464238306041807]