Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.002405/0.002405, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.002761/0.002761, allocations: 156.8 kB / 24.27 MB, free: 156 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.65/1.65, allocations: 177 MB / 204.4 MB, free: 5.605 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.3465/0.3465, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.05e-05/4.247e-05, allocations: 8.078 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4864/0.4864, allocations: 177.7 MB / 0.5419 GB, free: 11.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009177/0.4956, allocations: 4.659 MB / 0.5465 GB, free: 8.781 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009694/0.4966, allocations: 26.81 kB / 0.5465 GB, free: 8.766 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.4978, allocations: 334.8 kB / 0.5468 GB, free: 8.578 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005972/0.5038, allocations: 1.867 MB / 0.5487 GB, free: 7.586 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.5072, allocations: 0.9852 MB / 0.5496 GB, free: 6.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.5101, allocations: 1.735 MB / 0.5513 GB, free: 5.91 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007429/0.5108, allocations: 393.8 kB / 0.5517 GB, free: 5.625 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.5135, allocations: 1.1 MB / 0.5528 GB, free: 4.957 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009277/0.5145, allocations: 457.8 kB / 0.5532 GB, free: 4.734 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.5146, allocations: 54.5 kB / 0.5533 GB, free: 4.734 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.5175, allocations: 0.993 MB / 0.5542 GB, free: 4.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.5177, allocations: 185.6 kB / 0.5544 GB, free: 4.129 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.5181, allocations: 278.3 kB / 0.5547 GB, free: 4.008 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003452/0.5216, allocations: 1.698 MB / 0.5563 GB, free: 2.574 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5216, allocations: 0 / 0.5563 GB, free: 2.574 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.027e-06/0.5216, allocations: 3.984 kB / 0.5563 GB, free: 2.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.5216, allocations: 0 / 0.5563 GB, free: 2.57 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002595/0.5242, allocations: 1.187 MB / 0.5575 GB, free: 1.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.5242, allocations: 8.031 kB / 0.5575 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.5258, allocations: 270.8 kB / 0.5578 GB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009343/0.5268, allocations: 463.8 kB / 0.5582 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.5268, allocations: 40.98 kB / 0.5582 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.5269, allocations: 48 kB / 0.5583 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.5288, allocations: 1.087 MB / 0.5593 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.5289, allocations: 3.938 kB / 0.5593 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.529, allocations: 24 kB / 0.5594 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.529, allocations: 15.94 kB / 0.5594 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.5303, allocations: 448.6 kB / 0.5598 GB, free: 14.77 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.004036/0.5343, allocations: 2.629 MB / 0.5624 GB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009944/0.5353, allocations: 314.2 kB / 0.5627 GB, free: 11.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.5356, allocations: 140.2 kB / 0.5628 GB, free: 11.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/0.5358, allocations: 51.97 kB / 0.5629 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.5359, allocations: 41.39 kB / 0.5629 GB, free: 11.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.835e-06/0.5359, allocations: 0 / 0.5629 GB, free: 11.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.0019/0.5378, allocations: 0.6454 MB / 0.5635 GB, free: 10.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.5379, allocations: 162.2 kB / 0.5637 GB, free: 10.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007394/0.5387, allocations: 0.561 MB / 0.5642 GB, free: 10.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.5387, allocations: 33.7 kB / 0.5643 GB, free: 10.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.5391, allocations: 378.9 kB / 0.5646 GB, free: 9.652 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.5393, allocations: 131 kB / 0.5648 GB, free: 9.523 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.5395, allocations: 131.8 kB / 0.5649 GB, free: 9.387 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008009/0.5403, allocations: 0.5587 MB / 0.5654 GB, free: 8.816 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.5407, allocations: 136.9 kB / 0.5656 GB, free: 8.684 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.5414, allocations: 491.8 kB / 0.566 GB, free: 8.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.5425, allocations: 0.5177 MB / 0.5665 GB, free: 7.465 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.5425, allocations: 7.062 kB / 0.5665 GB, free: 7.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001353/0.5438, allocations: 0.5783 MB / 0.5671 GB, free: 6.871 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.5439, allocations: 8 kB / 0.5671 GB, free: 6.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5439, allocations: 4 kB / 0.5671 GB, free: 6.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.5454, allocations: 216 kB / 0.5673 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.5458, allocations: 115.8 kB / 0.5674 GB, free: 6.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009139/0.5467, allocations: 0.8702 MB / 0.5683 GB, free: 5.629 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.5472, allocations: 43.67 kB / 0.5683 GB, free: 5.586 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.5473, allocations: 55.98 kB / 0.5684 GB, free: 5.531 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0004574/0.5478, allocations: 228.4 kB / 0.5686 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.548, allocations: 75.61 kB / 0.5687 GB, free: 5.223 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.5503, allocations: 1.147 MB / 0.5698 GB, free: 4.055 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5503, allocations: 4 kB / 0.5698 GB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5503, allocations: 3.984 kB / 0.5698 GB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5503, allocations: 4 kB / 0.5698 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.552, allocations: 1.003 MB / 0.5708 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.552, allocations: 0 / 0.5708 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.5523, allocations: 51.97 kB / 0.5708 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/0.5551, allocations: 363.3 kB / 0.5712 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.5551, allocations: 9.125 kB / 0.5712 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007532/0.5559, allocations: 0.8702 MB / 0.572 GB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5559, allocations: 0 / 0.572 GB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.5571, allocations: 0.5717 MB / 0.5726 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.5572, allocations: 47.64 kB / 0.5726 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.5573, allocations: 20.44 kB / 0.5727 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.5576, allocations: 19.98 kB / 0.5727 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.5577, allocations: 27.83 kB / 0.5727 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.5578, allocations: 23.98 kB / 0.5727 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005735/0.5584, allocations: 410.8 kB / 0.5731 GB, free: 500 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5584, allocations: 0 / 0.5731 GB, free: 500 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001079/0.5594, allocations: 311.2 kB / 0.5734 GB, free: 188 kB / 442.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.0009429/0.5604, allocations: 405.3 kB / 0.5738 GB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009251/0.5613, allocations: 382.2 kB / 0.5742 GB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5613, allocations: 0 / 0.5742 GB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.5616, allocations: 163.7 kB / 0.5743 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5633, allocations: 339.5 kB / 0.5746 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.5651, allocations: 0.919 MB / 0.5755 GB, free: 13.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5654, allocations: 263.6 kB / 0.5758 GB, free: 13.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001145/0.5665, allocations: 0.5523 MB / 0.5763 GB, free: 13.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.5668, allocations: 92.45 kB / 0.5764 GB, free: 13.04 MB / 458.7 MB Notification: Performance of SimCode: time 1.633e-06/0.5668, allocations: 0 / 0.5764 GB, free: 13.04 MB / 458.7 MB Notification: Performance of Templates: time 0.03042/0.5972, allocations: 15.43 MB / 0.5915 GB, free: 13.83 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.439244571956806]