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.001445/0.001445, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001515/0.001515, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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.478/1.478, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3899/0.3899, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.803e-06/1.803e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.367e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4108/0.4108, allocations: 161.6 MB / 0.5263 GB, free: 4.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008979/0.4198, allocations: 3.033 MB / 0.5293 GB, free: 2.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.4209, allocations: 19.88 kB / 0.5293 GB, free: 2.488 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.4226, allocations: 316.6 kB / 0.5296 GB, free: 2.309 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007414/0.43, allocations: 1.462 MB / 0.531 GB, free: 1.531 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.4335, allocations: 0.7474 MB / 0.5317 GB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003471/0.437, allocations: 1.586 MB / 0.5333 GB, free: 384 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008905/0.4379, allocations: 383.3 kB / 0.5337 GB, free: 148 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.44, allocations: 0.8084 MB / 0.5344 GB, free: 15.8 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.4411, allocations: 417.3 kB / 0.5348 GB, free: 15.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.4413, allocations: 53.16 kB / 0.5349 GB, free: 15.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.4452, allocations: 0.9108 MB / 0.5358 GB, free: 15.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.4455, allocations: 162.5 kB / 0.5359 GB, free: 15.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006334/0.4462, allocations: 256.5 kB / 0.5362 GB, free: 15.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004404/0.4506, allocations: 1.552 MB / 0.5377 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4506, allocations: 0 / 0.5377 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4506, allocations: 0 / 0.5377 GB, free: 14.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.4506, allocations: 0 / 0.5377 GB, free: 14.55 MB / 426.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.003327/0.4539, allocations: 0.9969 MB / 0.5387 GB, free: 13.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.454, allocations: 14.06 kB / 0.5387 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/0.4561, allocations: 226.3 kB / 0.5389 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.4577, allocations: 452.7 kB / 0.5393 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.4578, allocations: 33.22 kB / 0.5394 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.4579, allocations: 43.97 kB / 0.5394 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.4604, allocations: 0.8952 MB / 0.5403 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.4604, allocations: 7.875 kB / 0.5403 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.4605, allocations: 17.5 kB / 0.5403 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.4605, allocations: 10.31 kB / 0.5403 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.4623, allocations: 484.1 kB / 0.5408 GB, free: 12.29 MB / 426.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.005445/0.4678, allocations: 1.913 MB / 0.5426 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.4692, allocations: 321.4 kB / 0.543 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/0.4699, allocations: 155 kB / 0.5431 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004013/0.4703, allocations: 57.3 kB / 0.5432 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/0.4704, allocations: 37.56 kB / 0.5432 GB, free: 10.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.777e-06/0.4704, allocations: 4 kB / 0.5432 GB, free: 10.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.003435/0.4738, allocations: 0.6728 MB / 0.5439 GB, free: 10.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.474, allocations: 145.5 kB / 0.544 GB, free: 9.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.4751, allocations: 429.5 kB / 0.5444 GB, free: 9.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.4752, allocations: 36.42 kB / 0.5444 GB, free: 9.629 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.4757, allocations: 289.9 kB / 0.5447 GB, free: 9.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.4759, allocations: 124.4 kB / 0.5448 GB, free: 9.262 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.4762, allocations: 106.8 kB / 0.5449 GB, free: 9.203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000369/0.4766, allocations: 353.4 kB / 0.5453 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/0.4772, allocations: 150.2 kB / 0.5454 GB, free: 8.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009082/0.4781, allocations: 354.9 kB / 0.5458 GB, free: 8.465 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.4796, allocations: 448.6 kB / 0.5462 GB, free: 8.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.4796, allocations: 0 / 0.5462 GB, free: 8.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002164/0.4818, allocations: 0.555 MB / 0.5467 GB, free: 7.879 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.4818, allocations: 9.812 kB / 0.5467 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4818, allocations: 2.156 kB / 0.5467 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003001/0.4848, allocations: 240.4 kB / 0.547 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.4856, allocations: 112.3 kB / 0.5471 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.4867, allocations: 0.6 MB / 0.5477 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007517/0.4874, allocations: 34.3 kB / 0.5477 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.4876, allocations: 48.14 kB / 0.5477 GB, free: 7.137 MB / 426.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.0005488/0.4881, allocations: 187 kB / 0.5479 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.4885, allocations: 67.23 kB / 0.548 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003829/0.4923, allocations: 1.088 MB / 0.549 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.4923, allocations: 8.781 kB / 0.549 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.4923, allocations: 0 / 0.549 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4923, allocations: 0 / 0.549 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.4956, allocations: 0.873 MB / 0.5499 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.4956, allocations: 2.781 kB / 0.5499 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.496, allocations: 57.53 kB / 0.55 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006238/0.5023, allocations: 440.4 kB / 0.5504 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.5024, allocations: 16 kB / 0.5504 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.5035, allocations: 0.6147 MB / 0.551 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.5035, allocations: 0 / 0.551 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.5055, allocations: 0.5065 MB / 0.5515 GB, free: 4.059 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.5058, allocations: 55.59 kB / 0.5515 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/0.5061, allocations: 15.88 kB / 0.5516 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/0.5068, allocations: 15.98 kB / 0.5516 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.507, allocations: 27.95 kB / 0.5516 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.5071, allocations: 16 kB / 0.5516 GB, free: 3.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00102/0.5081, allocations: 343.2 kB / 0.5519 GB, free: 3.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5081, allocations: 0 / 0.5519 GB, free: 3.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00203/0.5101, allocations: 295.2 kB / 0.5522 GB, free: 3.301 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.002034/0.5121, allocations: 386.3 kB / 0.5526 GB, free: 2.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.5134, allocations: 371.8 kB / 0.5529 GB, free: 2.547 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5134, allocations: 0.875 kB / 0.5529 GB, free: 2.547 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.5139, allocations: 168 kB / 0.5531 GB, free: 2.383 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.5155, allocations: 300.8 kB / 0.5534 GB, free: 2.113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.5174, allocations: 0.8688 MB / 0.5542 GB, free: 1.195 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.5178, allocations: 263.1 kB / 0.5545 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001272/0.5191, allocations: 0.5436 MB / 0.555 GB, free: 380 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.5193, allocations: 84.45 kB / 0.5551 GB, free: 296 kB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5194, allocations: 0 / 0.5551 GB, free: 296 kB / 426.7 MB Notification: Performance of Templates: time 0.02881/0.5482, allocations: 14.53 MB / 0.5693 GB, free: 1.992 MB / 442.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.904212540015578]