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.002529/0.002529, allocations: 91.61 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.003143/0.003143, allocations: 169.3 kB / 24.28 MB, free: 152 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.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3463/0.3463, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.252e-06/1.252e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/2.987e-05, allocations: 5.266 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4162/0.4162, allocations: 179.8 MB / 0.5421 GB, free: 12.76 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006537/0.4227, allocations: 3.258 MB / 0.5453 GB, free: 10.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00082/0.4235, allocations: 27.06 kB / 0.5453 GB, free: 10.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.4248, allocations: 320.2 kB / 0.5456 GB, free: 10.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004465/0.4292, allocations: 1.459 MB / 0.547 GB, free: 9.613 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.4315, allocations: 0.7461 MB / 0.5478 GB, free: 9.227 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002387/0.4339, allocations: 1.588 MB / 0.5493 GB, free: 8.457 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008793/0.4348, allocations: 384.1 kB / 0.5497 GB, free: 8.219 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.4364, allocations: 0.8067 MB / 0.5505 GB, free: 7.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/0.4372, allocations: 406.5 kB / 0.5509 GB, free: 7.527 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.4374, allocations: 53.91 kB / 0.5509 GB, free: 7.527 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.4397, allocations: 0.9152 MB / 0.5518 GB, free: 7.094 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.44, allocations: 176.2 kB / 0.552 GB, free: 6.957 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.4404, allocations: 255.8 kB / 0.5522 GB, free: 6.844 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003249/0.4437, allocations: 1.555 MB / 0.5537 GB, free: 5.879 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.4437, allocations: 6.625 kB / 0.5537 GB, free: 5.875 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4437, allocations: 0 / 0.5537 GB, free: 5.875 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.4437, allocations: 0 / 0.5537 GB, free: 5.875 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.002467/0.4462, allocations: 1.129 MB / 0.5548 GB, free: 4.992 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4462, allocations: 10.78 kB / 0.5549 GB, free: 4.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.4474, allocations: 228.8 kB / 0.5551 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.4484, allocations: 456.7 kB / 0.5555 GB, free: 4.531 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.4485, allocations: 29.94 kB / 0.5555 GB, free: 4.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.4485, allocations: 43.44 kB / 0.5556 GB, free: 4.508 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.45, allocations: 0.9327 MB / 0.5565 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.45, allocations: 3.938 kB / 0.5565 GB, free: 3.543 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.4501, allocations: 16 kB / 0.5565 GB, free: 3.527 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.4501, allocations: 12 kB / 0.5565 GB, free: 3.516 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.4511, allocations: 427.6 kB / 0.5569 GB, free: 3.098 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.004498/0.4556, allocations: 2.44 MB / 0.5593 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/0.4565, allocations: 324 kB / 0.5596 GB, free: 256 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.4568, allocations: 140.2 kB / 0.5598 GB, free: 112 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.457, allocations: 56.23 kB / 0.5598 GB, free: 56 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.4571, allocations: 45.61 kB / 0.5599 GB, free: 0 / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/0.4571, allocations: 128 / 0.5599 GB, free: 16 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002266/0.4594, allocations: 0.654 MB / 0.5605 GB, free: 15.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.4595, allocations: 132.5 kB / 0.5606 GB, free: 15.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/0.4602, allocations: 0.5337 MB / 0.5611 GB, free: 14.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003096/0.4605, allocations: 33.7 kB / 0.5612 GB, free: 14.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.4608, allocations: 355.1 kB / 0.5615 GB, free: 14.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.461, allocations: 134.9 kB / 0.5616 GB, free: 14.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.4612, allocations: 115.8 kB / 0.5618 GB, free: 13.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003542/0.4615, allocations: 0.5469 MB / 0.5623 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.4619, allocations: 140.9 kB / 0.5624 GB, free: 13.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.4625, allocations: 396.4 kB / 0.5628 GB, free: 12.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.4633, allocations: 468.1 kB / 0.5632 GB, free: 12.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4633, allocations: 4 kB / 0.5632 GB, free: 12.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001193/0.4645, allocations: 0.5434 MB / 0.5638 GB, free: 11.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.4645, allocations: 8 kB / 0.5638 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4645, allocations: 4 kB / 0.5638 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.4661, allocations: 211.8 kB / 0.564 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.4665, allocations: 95.89 kB / 0.5641 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008019/0.4673, allocations: 0.8741 MB / 0.5649 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.4676, allocations: 39.72 kB / 0.565 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/0.4677, allocations: 40 kB / 0.565 GB, free: 10.42 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.0003193/0.468, allocations: 228.5 kB / 0.5652 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.4682, allocations: 59.66 kB / 0.5653 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.4705, allocations: 1.133 MB / 0.5664 GB, free: 8.984 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.4705, allocations: 4 kB / 0.5664 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.4705, allocations: 0 / 0.5664 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4705, allocations: 3.984 kB / 0.5664 GB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.4723, allocations: 1.002 MB / 0.5674 GB, free: 7.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.4724, allocations: 5.422 kB / 0.5674 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.4726, allocations: 47.92 kB / 0.5674 GB, free: 7.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003106/0.4757, allocations: 363.3 kB / 0.5678 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.4757, allocations: 8 kB / 0.5678 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.4767, allocations: 0.8858 MB / 0.5687 GB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4767, allocations: 0.5 kB / 0.5687 GB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.4778, allocations: 0.565 MB / 0.5692 GB, free: 5.965 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.4779, allocations: 55.52 kB / 0.5693 GB, free: 5.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.478, allocations: 11.94 kB / 0.5693 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.4784, allocations: 18.28 kB / 0.5693 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.4785, allocations: 27.95 kB / 0.5693 GB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.4785, allocations: 19.98 kB / 0.5693 GB, free: 5.836 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005622/0.4791, allocations: 395 kB / 0.5697 GB, free: 5.449 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4791, allocations: 0 / 0.5697 GB, free: 5.449 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009712/0.48, allocations: 295.2 kB / 0.57 GB, free: 5.16 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.0009544/0.481, allocations: 382.4 kB / 0.5704 GB, free: 4.777 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000954/0.4819, allocations: 373.7 kB / 0.5707 GB, free: 4.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4819, allocations: 4 kB / 0.5707 GB, free: 4.406 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.4823, allocations: 171.4 kB / 0.5709 GB, free: 4.234 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.4839, allocations: 313.2 kB / 0.5712 GB, free: 3.949 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.4857, allocations: 0.8889 MB / 0.572 GB, free: 3.008 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.486, allocations: 259.1 kB / 0.5723 GB, free: 2.727 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00116/0.4872, allocations: 0.534 MB / 0.5728 GB, free: 2.195 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.4874, allocations: 84.45 kB / 0.5729 GB, free: 2.113 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4874, allocations: 0 / 0.5729 GB, free: 2.113 MB / 442.7 MB Notification: Performance of Templates: time 0.02928/0.5167, allocations: 14.56 MB / 0.5871 GB, free: 3.785 MB / 458.7 MB " [Timeout remaining time 659] 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","/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: 6.054030138999224]