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.001124/0.001124, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.001093/0.001093, allocations: 166.9 kB / 25.61 MB, free: 8.445 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.002/1.002, allocations: 177 MB / 205.9 MB, free: 4.449 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.1698/0.1698, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.144e-06/2.144e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.415e-05, allocations: 3.016 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3887/0.3887, allocations: 146.3 MB / 0.514 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004614/0.3933, allocations: 3.751 MB / 0.5177 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004049/0.3937, allocations: 23.27 kB / 0.5177 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.3942, allocations: 196.2 kB / 0.5179 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.3966, allocations: 1.363 MB / 0.5192 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.3977, allocations: 0.7918 MB / 0.52 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.3994, allocations: 1.764 MB / 0.5217 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005257/0.3999, allocations: 398.5 kB / 0.5221 GB, free: 15.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.4011, allocations: 0.9654 MB / 0.523 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005442/0.4017, allocations: 0.5301 MB / 0.5235 GB, free: 15.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.113e-05/0.4017, allocations: 55.78 kB / 0.5236 GB, free: 15.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.4029, allocations: 0.8469 MB / 0.5244 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.4031, allocations: 181.2 kB / 0.5246 GB, free: 15.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.4033, allocations: 273.5 kB / 0.5249 GB, free: 15.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.4048, allocations: 1.288 MB / 0.5261 GB, free: 15.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4048, allocations: 6.938 kB / 0.5261 GB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4048, allocations: 0 / 0.5261 GB, free: 15.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.4048, allocations: 0 / 0.5261 GB, free: 15.46 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001422/0.4062, allocations: 1.128 MB / 0.5272 GB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4063, allocations: 11.34 kB / 0.5272 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007309/0.407, allocations: 261.2 kB / 0.5275 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.4074, allocations: 450.3 kB / 0.5279 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.4075, allocations: 38.59 kB / 0.528 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.4075, allocations: 45.75 kB / 0.528 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.4081, allocations: 0.9256 MB / 0.5289 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4081, allocations: 0 / 0.5289 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.4082, allocations: 22.78 kB / 0.5289 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4082, allocations: 11.56 kB / 0.5289 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.4085, allocations: 251.8 kB / 0.5292 GB, free: 13.78 MB / 410.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.001491/0.41, allocations: 2.378 MB / 0.5315 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.4103, allocations: 206.5 kB / 0.5317 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.4104, allocations: 76.91 kB / 0.5318 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.4105, allocations: 53.66 kB / 0.5318 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.4105, allocations: 46.05 kB / 0.5319 GB, free: 12.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.4105, allocations: 0 / 0.5319 GB, free: 12.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007643/0.4113, allocations: 461.4 kB / 0.5323 GB, free: 11.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.4113, allocations: 161.5 kB / 0.5325 GB, free: 11.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.4115, allocations: 452.9 kB / 0.5329 GB, free: 11.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.4116, allocations: 31.27 kB / 0.5329 GB, free: 11.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4117, allocations: 372.8 kB / 0.5333 GB, free: 11.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/0.4118, allocations: 131.4 kB / 0.5334 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.4119, allocations: 128.6 kB / 0.5335 GB, free: 11.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.412, allocations: 0.5354 MB / 0.534 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.253e-05/0.4121, allocations: 64.48 kB / 0.5341 GB, free: 10.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.4123, allocations: 415.1 kB / 0.5345 GB, free: 10.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.4125, allocations: 379.8 kB / 0.5349 GB, free: 10.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4125, allocations: 0 / 0.5349 GB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004811/0.413, allocations: 434.9 kB / 0.5353 GB, free: 9.938 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.413, allocations: 7.781 kB / 0.5353 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4131, allocations: 5.312 kB / 0.5353 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006577/0.4137, allocations: 205.4 kB / 0.5355 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.4139, allocations: 120.7 kB / 0.5356 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002455/0.4142, allocations: 0.8282 MB / 0.5364 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.4143, allocations: 37.55 kB / 0.5364 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.4144, allocations: 54.77 kB / 0.5365 GB, free: 9.102 MB / 410.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.000132/0.4145, allocations: 189.5 kB / 0.5367 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.4146, allocations: 66.58 kB / 0.5367 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.4157, allocations: 1.021 MB / 0.5377 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4157, allocations: 5.219 kB / 0.5377 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.4157, allocations: 0 / 0.5377 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4157, allocations: 1.453 kB / 0.5377 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.4163, allocations: 0.7121 MB / 0.5384 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4163, allocations: 2.531 kB / 0.5384 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.4164, allocations: 51.78 kB / 0.5385 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.4175, allocations: 315.1 kB / 0.5388 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.4175, allocations: 14.7 kB / 0.5388 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002026/0.4177, allocations: 0.8405 MB / 0.5396 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4177, allocations: 2.781 kB / 0.5396 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.4181, allocations: 460.3 kB / 0.5401 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.4181, allocations: 47.34 kB / 0.5401 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.4181, allocations: 16.92 kB / 0.5401 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4183, allocations: 17.02 kB / 0.5401 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.4183, allocations: 23.91 kB / 0.5402 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.4184, allocations: 30.05 kB / 0.5402 GB, free: 7.133 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.4185, allocations: 315.3 kB / 0.5405 GB, free: 6.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4185, allocations: 2.75 kB / 0.5405 GB, free: 6.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006488/0.4192, allocations: 295.7 kB / 0.5408 GB, free: 6.949 MB / 410.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.0005476/0.4197, allocations: 347.2 kB / 0.5411 GB, free: 6.816 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.4201, allocations: 252.8 kB / 0.5414 GB, free: 6.797 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4201, allocations: 0 / 0.5414 GB, free: 6.797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4202, allocations: 105.8 kB / 0.5415 GB, free: 6.777 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.4211, allocations: 329.7 kB / 0.5418 GB, free: 6.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4223, allocations: 0.8825 MB / 0.5426 GB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.604e-05/0.4223, allocations: 130.7 kB / 0.5428 GB, free: 5.996 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006372/0.423, allocations: 0.551 MB / 0.5433 GB, free: 5.734 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.4235, allocations: 390.6 kB / 0.5437 GB, free: 5.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4235, allocations: 0 / 0.5437 GB, free: 5.57 MB / 410.7 MB Notification: Performance of Templates: time 0.01994/0.4435, allocations: 16.71 MB / 0.56 GB, free: 10.64 MB / 426.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.261934051755816]