Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00195/0.00195, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002149/0.002149, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.645/1.645, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3363/0.3363, allocations: 34.25 MB / 295.2 MB, free: 0.6289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/2.987e-05, allocations: 4.703 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3584/0.3584, allocations: 179.8 MB / 0.544 GB, free: 10.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006365/0.3648, allocations: 3.263 MB / 0.5472 GB, free: 8.402 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008053/0.3656, allocations: 20.81 kB / 0.5472 GB, free: 8.391 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.3666, allocations: 320.6 kB / 0.5475 GB, free: 8.207 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.3706, allocations: 1.45 MB / 0.5489 GB, free: 7.445 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.3725, allocations: 0.7596 MB / 0.5497 GB, free: 6.957 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002307/0.3748, allocations: 1.59 MB / 0.5512 GB, free: 6.02 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006436/0.3754, allocations: 376.5 kB / 0.5516 GB, free: 5.754 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.3767, allocations: 0.8026 MB / 0.5524 GB, free: 5.27 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000598/0.3773, allocations: 414.8 kB / 0.5528 GB, free: 5.059 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3774, allocations: 58.16 kB / 0.5528 GB, free: 5.055 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.3797, allocations: 0.9105 MB / 0.5537 GB, free: 4.625 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.3799, allocations: 168.7 kB / 0.5539 GB, free: 4.496 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.3802, allocations: 255 kB / 0.5541 GB, free: 4.383 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.3828, allocations: 1.563 MB / 0.5556 GB, free: 3.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3828, allocations: 0 / 0.5556 GB, free: 3.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3828, allocations: 0 / 0.5556 GB, free: 3.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3828, allocations: 0 / 0.5556 GB, free: 3.18 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.002455/0.3853, allocations: 1.129 MB / 0.5567 GB, free: 2.012 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3853, allocations: 12.62 kB / 0.5568 GB, free: 2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.3864, allocations: 227 kB / 0.557 GB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000939/0.3874, allocations: 459.9 kB / 0.5574 GB, free: 1.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.3874, allocations: 29 kB / 0.5574 GB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3875, allocations: 44 kB / 0.5575 GB, free: 1.234 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.389, allocations: 0.929 MB / 0.5584 GB, free: 184 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.389, allocations: 3.938 kB / 0.5584 GB, free: 180 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.3891, allocations: 19.98 kB / 0.5584 GB, free: 160 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.3891, allocations: 12 kB / 0.5584 GB, free: 148 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009725/0.3901, allocations: 427.6 kB / 0.5588 GB, free: 15.73 MB / 442.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.00388/0.3939, allocations: 2.44 MB / 0.5612 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008337/0.3948, allocations: 324 kB / 0.5615 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.3951, allocations: 148.1 kB / 0.5617 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.3953, allocations: 52.25 kB / 0.5617 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.3954, allocations: 41.67 kB / 0.5617 GB, free: 12.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.3954, allocations: 0 / 0.5617 GB, free: 12.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001874/0.3972, allocations: 0.6463 MB / 0.5624 GB, free: 11.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.3974, allocations: 136.5 kB / 0.5625 GB, free: 11.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/0.3981, allocations: 0.5298 MB / 0.563 GB, free: 11.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.3981, allocations: 33.7 kB / 0.5631 GB, free: 11.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.3984, allocations: 359.1 kB / 0.5634 GB, free: 10.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.3986, allocations: 127 kB / 0.5635 GB, free: 10.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004421/0.399, allocations: 119.8 kB / 0.5636 GB, free: 10.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003327/0.3994, allocations: 0.5547 MB / 0.5642 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.3997, allocations: 128.9 kB / 0.5643 GB, free: 9.918 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.4002, allocations: 406.1 kB / 0.5647 GB, free: 9.426 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.4011, allocations: 464 kB / 0.5651 GB, free: 8.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4011, allocations: 4 kB / 0.5651 GB, free: 8.906 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001164/0.4023, allocations: 0.5356 MB / 0.5657 GB, free: 8.359 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4023, allocations: 8 kB / 0.5657 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4023, allocations: 4 kB / 0.5657 GB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.4038, allocations: 215.8 kB / 0.5659 GB, free: 8.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.4041, allocations: 99.83 kB / 0.566 GB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008069/0.405, allocations: 0.8742 MB / 0.5668 GB, free: 7.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.4053, allocations: 35.73 kB / 0.5669 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.453e-05/0.4054, allocations: 43.98 kB / 0.5669 GB, free: 7.051 MB / 442.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.0003243/0.4057, allocations: 228.5 kB / 0.5671 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.4059, allocations: 63.66 kB / 0.5672 GB, free: 6.754 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.4081, allocations: 1.14 MB / 0.5683 GB, free: 5.605 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.4081, allocations: 4.688 kB / 0.5683 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4081, allocations: 0 / 0.5683 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4081, allocations: 0 / 0.5683 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.4098, allocations: 1.004 MB / 0.5693 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.4098, allocations: 0 / 0.5693 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.4101, allocations: 53.47 kB / 0.5693 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003005/0.4131, allocations: 359.3 kB / 0.5697 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.4131, allocations: 11.98 kB / 0.5697 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.4141, allocations: 0.8858 MB / 0.5705 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4141, allocations: 0 / 0.5705 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.4152, allocations: 0.569 MB / 0.5711 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4153, allocations: 47.59 kB / 0.5711 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/0.4154, allocations: 19.59 kB / 0.5712 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.4157, allocations: 15.98 kB / 0.5712 GB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.4157, allocations: 27.95 kB / 0.5712 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.4158, allocations: 16 kB / 0.5712 GB, free: 2.461 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005563/0.4163, allocations: 395 kB / 0.5716 GB, free: 2.078 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4163, allocations: 0 / 0.5716 GB, free: 2.078 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001068/0.4174, allocations: 299.1 kB / 0.5719 GB, free: 1.785 MB / 442.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.0009488/0.4184, allocations: 382.4 kB / 0.5722 GB, free: 1.402 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.4194, allocations: 382.8 kB / 0.5726 GB, free: 1.027 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4194, allocations: 3.125 kB / 0.5726 GB, free: 1.027 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.4198, allocations: 167.4 kB / 0.5728 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.4214, allocations: 318.1 kB / 0.5731 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.4231, allocations: 0.8919 MB / 0.574 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.4234, allocations: 255.2 kB / 0.5742 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001125/0.4245, allocations: 0.5317 MB / 0.5747 GB, free: 14.81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.4248, allocations: 88.44 kB / 0.5748 GB, free: 14.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4248, allocations: 0 / 0.5748 GB, free: 14.73 MB / 458.7 MB Notification: Performance of Templates: time 0.02885/0.4537, allocations: 14.55 MB / 0.589 GB, free: 392 kB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.982033494976349]