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.0009176/0.0009176, allocations: 83.69 kB / 21.7 MB, free: 2.848 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.0009572/0.0009572, allocations: 158.8 kB / 24.99 MB, free: 8.844 MB / 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.033/1.033, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.3158/0.3158, allocations: 34.86 MB / 296.6 MB, free: 0.5586 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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..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.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..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 2.615e-06/2.615e-06, allocations: 0 / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.882e-05, allocations: 2.312 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.356/0.356, allocations: 177.8 MB / 0.5435 GB, free: 11.38 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005953/0.362, allocations: 4.658 MB / 0.5481 GB, free: 8.262 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008025/0.3628, allocations: 20.62 kB / 0.5481 GB, free: 8.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.3639, allocations: 338.1 kB / 0.5484 GB, free: 8.059 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.3686, allocations: 1.874 MB / 0.5502 GB, free: 6.898 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.3705, allocations: 0.9755 MB / 0.5512 GB, free: 6.18 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.3724, allocations: 1.734 MB / 0.5529 GB, free: 5.164 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.373, allocations: 397.2 kB / 0.5533 GB, free: 4.879 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.3744, allocations: 1.104 MB / 0.5543 GB, free: 4.207 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.375, allocations: 461.8 kB / 0.5548 GB, free: 3.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/0.3751, allocations: 57.16 kB / 0.5548 GB, free: 3.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.3768, allocations: 0.9866 MB / 0.5558 GB, free: 3.516 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.377, allocations: 181.7 kB / 0.556 GB, free: 3.379 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.3772, allocations: 282 kB / 0.5562 GB, free: 3.254 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.3791, allocations: 1.422 MB / 0.5576 GB, free: 1.934 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3791, allocations: 0 / 0.5576 GB, free: 1.934 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3791, allocations: 0 / 0.5576 GB, free: 1.934 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3791, allocations: 0 / 0.5576 GB, free: 1.934 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.001433/0.3806, allocations: 1.152 MB / 0.5588 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3806, allocations: 8.031 kB / 0.5588 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.3816, allocations: 270.8 kB / 0.559 GB, free: 476 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.3821, allocations: 463.5 kB / 0.5595 GB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.3821, allocations: 33 kB / 0.5595 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.3822, allocations: 52 kB / 0.5596 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000773/0.383, allocations: 0.9793 MB / 0.5605 GB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.383, allocations: 0 / 0.5605 GB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.383, allocations: 23.98 kB / 0.5605 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3831, allocations: 15.94 kB / 0.5605 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.3835, allocations: 305.6 kB / 0.5608 GB, free: 14.42 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.002115/0.3856, allocations: 2.468 MB / 0.5632 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.386, allocations: 215.4 kB / 0.5635 GB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.3861, allocations: 84.23 kB / 0.5635 GB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.3863, allocations: 51.97 kB / 0.5636 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.3863, allocations: 45.33 kB / 0.5636 GB, free: 11.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.3863, allocations: 0 / 0.5636 GB, free: 11.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009593/0.3873, allocations: 0.4971 MB / 0.5641 GB, free: 10.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.3873, allocations: 158.2 kB / 0.5643 GB, free: 10.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.3877, allocations: 470.5 kB / 0.5647 GB, free: 10.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.3877, allocations: 33.7 kB / 0.5647 GB, free: 10.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.3879, allocations: 358.9 kB / 0.5651 GB, free: 9.887 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.3879, allocations: 134.8 kB / 0.5652 GB, free: 9.754 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.3881, allocations: 127.8 kB / 0.5653 GB, free: 9.621 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3882, allocations: 0.5313 MB / 0.5659 GB, free: 9.078 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3883, allocations: 76.95 kB / 0.5659 GB, free: 9.004 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.3886, allocations: 427.9 kB / 0.5663 GB, free: 8.453 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.389, allocations: 402.1 kB / 0.5667 GB, free: 7.973 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.389, allocations: 0 / 0.5667 GB, free: 7.973 MB / 442.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005787/0.3896, allocations: 464.2 kB / 0.5672 GB, free: 7.508 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3896, allocations: 8 kB / 0.5672 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3896, allocations: 7.938 kB / 0.5672 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007589/0.3904, allocations: 204 kB / 0.5674 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.3906, allocations: 115.9 kB / 0.5675 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003655/0.391, allocations: 0.8351 MB / 0.5683 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.3912, allocations: 47.62 kB / 0.5683 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/0.3913, allocations: 55.98 kB / 0.5684 GB, free: 6.207 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.0002137/0.3915, allocations: 188.4 kB / 0.5686 GB, free: 6.012 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3916, allocations: 71.61 kB / 0.5686 GB, free: 5.941 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.3931, allocations: 1.023 MB / 0.5696 GB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3931, allocations: 4 kB / 0.5696 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3931, allocations: 0 / 0.5696 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3931, allocations: 3.984 kB / 0.5697 GB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007787/0.3939, allocations: 0.8137 MB / 0.5704 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3939, allocations: 4 kB / 0.5705 GB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.394, allocations: 51.91 kB / 0.5705 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.3952, allocations: 343.4 kB / 0.5708 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3953, allocations: 8 kB / 0.5708 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003329/0.3956, allocations: 0.8467 MB / 0.5717 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3956, allocations: 0 / 0.5717 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.396, allocations: 481.4 kB / 0.5721 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.3961, allocations: 55.58 kB / 0.5722 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.3961, allocations: 16.84 kB / 0.5722 GB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.3963, allocations: 16 kB / 0.5722 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.3963, allocations: 27.95 kB / 0.5722 GB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.3963, allocations: 15.98 kB / 0.5722 GB, free: 2.082 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002521/0.3966, allocations: 346.8 kB / 0.5726 GB, free: 1.742 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3966, allocations: 0 / 0.5726 GB, free: 1.742 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007068/0.3973, allocations: 311.1 kB / 0.5729 GB, free: 1.438 MB / 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.0006002/0.3979, allocations: 395.5 kB / 0.5733 GB, free: 1.043 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005948/0.3985, allocations: 277.5 kB / 0.5735 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3985, allocations: 0 / 0.5735 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.3987, allocations: 111.8 kB / 0.5736 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.3995, allocations: 343.1 kB / 0.5739 GB, free: 352 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.4008, allocations: 0.8734 MB / 0.5748 GB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.841e-05/0.4009, allocations: 130.7 kB / 0.5749 GB, free: 15.26 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006714/0.4016, allocations: 0.5561 MB / 0.5755 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.4018, allocations: 88.47 kB / 0.5756 GB, free: 14.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4018, allocations: 0 / 0.5756 GB, free: 14.62 MB / 458.7 MB Notification: Performance of Templates: time 0.01758/0.4193, allocations: 15.45 MB / 0.5906 GB, free: 15.41 MB / 474.7 MB " [Timeout remaining time 660] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.14251023507677]