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.001184/0.001184, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001236/0.001236, allocations: 170.4 kB / 24.82 MB, free: 9.324 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 1.061/1.061, 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.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.3138/0.3138, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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 1.553e-06/1.553e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.502e-05, allocations: 2.312 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3362/0.3363, allocations: 146.1 MB / 0.5123 GB, free: 16.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004364/0.3406, allocations: 3.008 MB / 0.5152 GB, free: 14.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/0.3412, allocations: 26.81 kB / 0.5152 GB, free: 14.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.3418, allocations: 194.6 kB / 0.5154 GB, free: 14.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.3445, allocations: 1.231 MB / 0.5166 GB, free: 13.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3456, allocations: 0.5878 MB / 0.5172 GB, free: 13.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.3475, allocations: 1.559 MB / 0.5187 GB, free: 12.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005474/0.348, allocations: 376.6 kB / 0.5191 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008646/0.3489, allocations: 0.7603 MB / 0.5198 GB, free: 12.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.3495, allocations: 496.4 kB / 0.5203 GB, free: 12.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.149e-05/0.3496, allocations: 56.72 kB / 0.5204 GB, free: 12.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.3514, allocations: 0.8029 MB / 0.5211 GB, free: 11.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.3516, allocations: 169.5 kB / 0.5213 GB, free: 11.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.3518, allocations: 246.2 kB / 0.5215 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.3536, allocations: 1.208 MB / 0.5227 GB, free: 11.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3536, allocations: 0 / 0.5227 GB, free: 11.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3536, allocations: 4 kB / 0.5227 GB, free: 11.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3536, allocations: 0 / 0.5227 GB, free: 11.33 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.001177/0.3548, allocations: 1.086 MB / 0.5238 GB, free: 10.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3548, allocations: 10.72 kB / 0.5238 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/0.3554, allocations: 216.1 kB / 0.524 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.3558, allocations: 434.8 kB / 0.5244 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3558, allocations: 34.16 kB / 0.5244 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.3559, allocations: 46 kB / 0.5245 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.3564, allocations: 0.7762 MB / 0.5252 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3564, allocations: 0 / 0.5252 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.3565, allocations: 24.27 kB / 0.5253 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3565, allocations: 10.69 kB / 0.5253 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.3567, allocations: 230 kB / 0.5255 GB, free: 9.488 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.001449/0.3582, allocations: 2.195 MB / 0.5276 GB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.3585, allocations: 194.2 kB / 0.5278 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.3586, allocations: 78.89 kB / 0.5279 GB, free: 7.641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.3587, allocations: 74.83 kB / 0.528 GB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3587, allocations: 42.89 kB / 0.528 GB, free: 7.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.365e-06/0.3587, allocations: 0 / 0.528 GB, free: 7.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.000774/0.3595, allocations: 448.4 kB / 0.5284 GB, free: 7.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.3595, allocations: 133.9 kB / 0.5286 GB, free: 7.285 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3598, allocations: 441 kB / 0.529 GB, free: 7.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.3598, allocations: 32.67 kB / 0.529 GB, free: 6.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.3599, allocations: 342.6 kB / 0.5293 GB, free: 6.703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.36, allocations: 124.7 kB / 0.5295 GB, free: 6.605 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.3601, allocations: 109.2 kB / 0.5296 GB, free: 6.551 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.3601, allocations: 0.5354 MB / 0.5301 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.3602, allocations: 57.22 kB / 0.5302 GB, free: 6.031 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.3604, allocations: 318.6 kB / 0.5305 GB, free: 5.703 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.3606, allocations: 303.7 kB / 0.5307 GB, free: 5.465 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3606, allocations: 4 kB / 0.5307 GB, free: 5.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003911/0.361, allocations: 378 kB / 0.5311 GB, free: 5.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.361, allocations: 8.312 kB / 0.5311 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.361, allocations: 6.281 kB / 0.5311 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/0.3616, allocations: 197.5 kB / 0.5313 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3618, allocations: 96.75 kB / 0.5314 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002346/0.362, allocations: 0.8386 MB / 0.5322 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3622, allocations: 31.06 kB / 0.5323 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.3622, allocations: 44.97 kB / 0.5323 GB, free: 4.449 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.0001114/0.3624, allocations: 184.6 kB / 0.5325 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.3624, allocations: 65.7 kB / 0.5325 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009203/0.3634, allocations: 0.9573 MB / 0.5335 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3634, allocations: 3 kB / 0.5335 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3634, allocations: 4.875 kB / 0.5335 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3634, allocations: 6.703 kB / 0.5335 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.364, allocations: 0.7488 MB / 0.5342 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.364, allocations: 0 / 0.5342 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3642, allocations: 52.64 kB / 0.5343 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/0.3652, allocations: 325.1 kB / 0.5346 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.3653, allocations: 16.41 kB / 0.5346 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002019/0.3655, allocations: 0.8374 MB / 0.5354 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3655, allocations: 2.812 kB / 0.5354 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.3658, allocations: 447.1 kB / 0.5358 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.3658, allocations: 55.72 kB / 0.5359 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.3658, allocations: 17.89 kB / 0.5359 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.366, allocations: 20.86 kB / 0.5359 GB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.366, allocations: 27.78 kB / 0.536 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.366, allocations: 11.53 kB / 0.536 GB, free: 2.152 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.3662, allocations: 298.7 kB / 0.5362 GB, free: 2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3662, allocations: 0 / 0.5362 GB, free: 2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006772/0.3669, allocations: 283.6 kB / 0.5365 GB, free: 1.934 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.0004969/0.3674, allocations: 359.5 kB / 0.5369 GB, free: 1.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003401/0.3677, allocations: 226.6 kB / 0.5371 GB, free: 1.711 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3677, allocations: 3.938 kB / 0.5371 GB, free: 1.707 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3678, allocations: 107.7 kB / 0.5372 GB, free: 1.672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.3686, allocations: 307.2 kB / 0.5375 GB, free: 1.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.3696, allocations: 0.8412 MB / 0.5383 GB, free: 1.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.079e-05/0.3697, allocations: 132.7 kB / 0.5384 GB, free: 0.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005752/0.3703, allocations: 474.2 kB / 0.5389 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.3708, allocations: 350.7 kB / 0.5392 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.3708, allocations: 0 / 0.5392 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of Templates: time 0.01883/0.3896, allocations: 15.92 MB / 0.5548 GB, free: 4.039 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: 4.247919647023082]