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.001815/0.001815, allocations: 92.31 kB / 20.96 MB, free: 3.465 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.002419/0.002419, allocations: 157.7 kB / 24.27 MB, free: 164 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.44/1.44, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3357/0.3357, allocations: 32.8 MB / 293.9 MB, free: 1.234 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.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.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.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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.161e-05, allocations: 6.25 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.345/0.345, allocations: 161.6 MB / 0.5243 GB, free: 6.613 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004634/0.3497, allocations: 3.041 MB / 0.5273 GB, free: 4.582 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.3503, allocations: 26.5 kB / 0.5273 GB, free: 4.566 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000832/0.3511, allocations: 316.8 kB / 0.5276 GB, free: 4.387 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003192/0.3543, allocations: 1.454 MB / 0.529 GB, free: 3.621 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.3559, allocations: 0.7537 MB / 0.5298 GB, free: 3.227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.3573, allocations: 1.587 MB / 0.5313 GB, free: 2.457 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004183/0.3577, allocations: 379.3 kB / 0.5317 GB, free: 2.227 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008878/0.3586, allocations: 0.8006 MB / 0.5325 GB, free: 1.895 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/0.3591, allocations: 424.6 kB / 0.5329 GB, free: 1.754 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.898e-05/0.3592, allocations: 51 kB / 0.5329 GB, free: 1.754 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.3608, allocations: 0.9032 MB / 0.5338 GB, free: 1.512 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3609, allocations: 171.8 kB / 0.534 GB, free: 1.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.3612, allocations: 255.2 kB / 0.5342 GB, free: 1.316 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.363, allocations: 1.547 MB / 0.5357 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.363, allocations: 0 / 0.5357 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.363, allocations: 7.188 kB / 0.5357 GB, free: 0.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.3631, allocations: 3.938 kB / 0.5357 GB, free: 0.7891 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.001684/0.3647, allocations: 0.9967 MB / 0.5367 GB, free: 128 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3648, allocations: 8.5 kB / 0.5367 GB, free: 128 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.3658, allocations: 222.8 kB / 0.5369 GB, free: 36 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/0.3667, allocations: 455.7 kB / 0.5374 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.3667, allocations: 31.59 kB / 0.5374 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.146e-05/0.3668, allocations: 55.69 kB / 0.5374 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.3685, allocations: 0.8887 MB / 0.5383 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.3685, allocations: 10.5 kB / 0.5383 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.991e-05/0.3686, allocations: 21.53 kB / 0.5383 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.3686, allocations: 10.81 kB / 0.5383 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.3696, allocations: 479 kB / 0.5388 GB, free: 14.7 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.003086/0.3727, allocations: 1.907 MB / 0.5407 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/0.3735, allocations: 323.8 kB / 0.541 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.3738, allocations: 157.4 kB / 0.5411 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.374, allocations: 55.02 kB / 0.5412 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.109e-05/0.3741, allocations: 39.84 kB / 0.5412 GB, free: 12.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.3741, allocations: 0 / 0.5412 GB, free: 12.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001895/0.376, allocations: 0.6801 MB / 0.5419 GB, free: 12.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.3761, allocations: 130.9 kB / 0.542 GB, free: 12.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/0.3766, allocations: 441.5 kB / 0.5424 GB, free: 12.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.3767, allocations: 32.55 kB / 0.5425 GB, free: 12.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.377, allocations: 295.7 kB / 0.5427 GB, free: 11.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.3771, allocations: 120.1 kB / 0.5429 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.3773, allocations: 105.4 kB / 0.543 GB, free: 11.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.3775, allocations: 349.4 kB / 0.5433 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.3778, allocations: 156.8 kB / 0.5434 GB, free: 11.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005388/0.3784, allocations: 360.6 kB / 0.5438 GB, free: 10.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000816/0.3792, allocations: 443.9 kB / 0.5442 GB, free: 10.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3792, allocations: 0 / 0.5442 GB, free: 10.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001129/0.3803, allocations: 0.5522 MB / 0.5447 GB, free: 10.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3803, allocations: 11.88 kB / 0.5448 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3803, allocations: 5.984 kB / 0.5448 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.382, allocations: 241.6 kB / 0.545 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.3824, allocations: 103.6 kB / 0.5451 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006413/0.383, allocations: 0.6043 MB / 0.5457 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.3834, allocations: 41.11 kB / 0.5457 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/0.3835, allocations: 47.86 kB / 0.5458 GB, free: 9.531 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.0003213/0.3838, allocations: 175 kB / 0.5459 GB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.3839, allocations: 64.39 kB / 0.546 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.3859, allocations: 1.088 MB / 0.5471 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3859, allocations: 2.812 kB / 0.5471 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3859, allocations: 3.984 kB / 0.5471 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3859, allocations: 2.844 kB / 0.5471 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.3875, allocations: 0.8747 MB / 0.5479 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.3875, allocations: 4.594 kB / 0.5479 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.3877, allocations: 57.22 kB / 0.548 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003432/0.3911, allocations: 443.1 kB / 0.5484 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.3911, allocations: 9.25 kB / 0.5484 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008203/0.392, allocations: 0.6122 MB / 0.549 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.392, allocations: 6.656 kB / 0.549 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.3929, allocations: 0.5003 MB / 0.5495 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/0.393, allocations: 60 kB / 0.5496 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.871e-05/0.393, allocations: 14.5 kB / 0.5496 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.3934, allocations: 16.52 kB / 0.5496 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.3935, allocations: 33.33 kB / 0.5496 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.3935, allocations: 18.44 kB / 0.5496 GB, free: 6.871 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004655/0.394, allocations: 340.4 kB / 0.55 GB, free: 6.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.394, allocations: 0 / 0.55 GB, free: 6.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009595/0.3949, allocations: 298.5 kB / 0.5502 GB, free: 6.543 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.0009405/0.3959, allocations: 382.4 kB / 0.5506 GB, free: 6.156 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009957/0.3969, allocations: 368.1 kB / 0.551 GB, free: 5.797 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3969, allocations: 0 / 0.551 GB, free: 5.797 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.3973, allocations: 155.7 kB / 0.5511 GB, free: 5.645 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.3988, allocations: 320.6 kB / 0.5514 GB, free: 5.359 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.4004, allocations: 0.8645 MB / 0.5523 GB, free: 4.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.4008, allocations: 267.1 kB / 0.5525 GB, free: 4.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001134/0.4019, allocations: 0.5437 MB / 0.553 GB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.4022, allocations: 84.47 kB / 0.5531 GB, free: 3.543 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4022, allocations: 0 / 0.5531 GB, free: 3.543 MB / 426.7 MB Notification: Performance of Templates: time 0.02848/0.4307, allocations: 14.54 MB / 0.5673 GB, free: 5.238 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.8605992801021785]