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.001018/0.001018, allocations: 80.41 kB / 22.21 MB, free: 2.293 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.001274/0.001274, allocations: 169 kB / 25.61 MB, free: 8.883 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.9496/0.9496, allocations: 177.1 MB / 206 MB, free: 4.5 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.1502/0.1502, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.252e-06/1.252e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.92e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2989/0.2989, allocations: 146 MB / 0.5111 GB, free: 16.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004797/0.3037, allocations: 3.014 MB / 0.514 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000738/0.3044, allocations: 27.55 kB / 0.514 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.3051, allocations: 186.7 kB / 0.5142 GB, free: 16.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.3082, allocations: 1.227 MB / 0.5154 GB, free: 16.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.3095, allocations: 0.5967 MB / 0.516 GB, free: 16.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.3116, allocations: 1.557 MB / 0.5175 GB, free: 16.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006466/0.3122, allocations: 375.5 kB / 0.5179 GB, free: 16.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.3135, allocations: 0.7666 MB / 0.5186 GB, free: 16.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007616/0.3142, allocations: 493.4 kB / 0.5191 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.3143, allocations: 49.03 kB / 0.5191 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.3162, allocations: 0.8129 MB / 0.5199 GB, free: 16.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.3164, allocations: 172.9 kB / 0.5201 GB, free: 16.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003656/0.3167, allocations: 244.6 kB / 0.5203 GB, free: 16.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.3189, allocations: 1.204 MB / 0.5215 GB, free: 16.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3189, allocations: 4 kB / 0.5215 GB, free: 16.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3189, allocations: 0 / 0.5215 GB, free: 16.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.3189, allocations: 0 / 0.5215 GB, free: 16.3 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.00172/0.3207, allocations: 1.085 MB / 0.5226 GB, free: 15.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3207, allocations: 11.92 kB / 0.5226 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009142/0.3216, allocations: 220.3 kB / 0.5228 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/0.3222, allocations: 434.8 kB / 0.5232 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.3223, allocations: 35.78 kB / 0.5232 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.3223, allocations: 49.62 kB / 0.5233 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.3231, allocations: 0.765 MB / 0.524 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3231, allocations: 5.719 kB / 0.524 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/0.3232, allocations: 19.16 kB / 0.5241 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3232, allocations: 12.98 kB / 0.5241 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.3236, allocations: 228 kB / 0.5243 GB, 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.001917/0.3255, allocations: 2.196 MB / 0.5264 GB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.326, allocations: 200.2 kB / 0.5266 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.3261, allocations: 74.52 kB / 0.5267 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.3262, allocations: 50.75 kB / 0.5267 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3262, allocations: 42.64 kB / 0.5268 GB, free: 13.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/0.3263, allocations: 0 / 0.5268 GB, free: 13.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001054/0.3273, allocations: 455.3 kB / 0.5272 GB, free: 13.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.3273, allocations: 135.9 kB / 0.5273 GB, free: 12.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.3277, allocations: 438.8 kB / 0.5278 GB, free: 12.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.3277, allocations: 32.2 kB / 0.5278 GB, free: 12.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.3279, allocations: 347.7 kB / 0.5281 GB, free: 12.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.328, allocations: 125.2 kB / 0.5282 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.3281, allocations: 111.8 kB / 0.5284 GB, free: 12.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.3282, allocations: 0.5291 MB / 0.5289 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3283, allocations: 63.53 kB / 0.5289 GB, free: 11.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.3286, allocations: 318.1 kB / 0.5292 GB, free: 11.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.3289, allocations: 299.6 kB / 0.5295 GB, free: 11.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3289, allocations: 6.875 kB / 0.5295 GB, free: 11.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005977/0.3295, allocations: 374.6 kB / 0.5299 GB, free: 11.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3295, allocations: 5.219 kB / 0.5299 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3295, allocations: 9.438 kB / 0.5299 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009148/0.3304, allocations: 202.6 kB / 0.5301 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.3307, allocations: 101.9 kB / 0.5302 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002963/0.331, allocations: 0.8313 MB / 0.531 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.3313, allocations: 36.5 kB / 0.531 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.309e-05/0.3313, allocations: 43.92 kB / 0.5311 GB, free: 10.51 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.0001931/0.3315, allocations: 185.4 kB / 0.5313 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.3316, allocations: 64.14 kB / 0.5313 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.333, allocations: 0.9532 MB / 0.5322 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.333, allocations: 3.469 kB / 0.5322 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.333, allocations: 6.812 kB / 0.5323 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.333, allocations: 2.203 kB / 0.5323 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.334, allocations: 0.7514 MB / 0.533 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.334, allocations: 0 / 0.533 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.3342, allocations: 52.58 kB / 0.533 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.3358, allocations: 319.5 kB / 0.5333 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.3358, allocations: 12.12 kB / 0.5334 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002617/0.336, allocations: 0.8406 MB / 0.5342 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3361, allocations: 8.766 kB / 0.5342 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.3365, allocations: 445.5 kB / 0.5346 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.3366, allocations: 55.36 kB / 0.5347 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.3367, allocations: 16.23 kB / 0.5347 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.3369, allocations: 14.72 kB / 0.5347 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.3369, allocations: 31.44 kB / 0.5347 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.337, allocations: 14.5 kB / 0.5347 GB, free: 8.594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002085/0.3372, allocations: 300.2 kB / 0.535 GB, free: 8.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3372, allocations: 0 / 0.535 GB, free: 8.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008926/0.3381, allocations: 278.8 kB / 0.5353 GB, free: 8.422 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.0006148/0.3387, allocations: 361.1 kB / 0.5356 GB, free: 8.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.3391, allocations: 222.8 kB / 0.5358 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3391, allocations: 3.438 kB / 0.5358 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.3392, allocations: 107.2 kB / 0.5359 GB, free: 8.246 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/0.34, allocations: 302.9 kB / 0.5362 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3412, allocations: 0.8431 MB / 0.5371 GB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.716e-05/0.3413, allocations: 134.8 kB / 0.5372 GB, free: 7.621 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006322/0.3419, allocations: 484.5 kB / 0.5377 GB, free: 7.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/0.3425, allocations: 349 kB / 0.538 GB, free: 7.477 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.3425, allocations: 0 / 0.538 GB, free: 7.477 MB / 410.7 MB Notification: Performance of Templates: time 0.01828/0.3608, allocations: 16.09 MB / 0.5537 GB, free: 15.05 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.920895411167294]