Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.002445/0.002445, allocations: 96.97 kB / 20.21 MB, free: 4.211 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.00225/0.00225, allocations: 165.2 kB / 23.52 MB, free: 0.9023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2172/0.2172, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.575e-05, allocations: 6.312 kB / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.559/0.5591, allocations: 181.3 MB / 0.5158 GB, free: 14.57 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.5715, allocations: 7.049 MB / 0.5227 GB, free: 7.504 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000827/0.5723, allocations: 23.81 kB / 0.5228 GB, free: 7.48 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.5737, allocations: 333.6 kB / 0.5231 GB, free: 7.152 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007321/0.581, allocations: 2.469 MB / 0.5255 GB, free: 4.672 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.5839, allocations: 0.9774 MB / 0.5264 GB, free: 3.691 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003001/0.5869, allocations: 1.722 MB / 0.5281 GB, free: 1.961 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007343/0.5876, allocations: 390.7 kB / 0.5285 GB, free: 1.574 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.5899, allocations: 1.087 MB / 0.5295 GB, free: 496 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.5912, allocations: 466.6 kB / 0.53 GB, free: 28 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.5914, allocations: 56.05 kB / 0.53 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.5947, allocations: 1.181 MB / 0.5312 GB, free: 14.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002838/0.595, allocations: 183.3 kB / 0.5314 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000468/0.5955, allocations: 275.4 kB / 0.5316 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003891/0.5994, allocations: 1.823 MB / 0.5334 GB, free: 12.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.5994, allocations: 7.984 kB / 0.5334 GB, free: 12.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5994, allocations: 0 / 0.5334 GB, free: 12.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.5994, allocations: 0 / 0.5334 GB, free: 12.5 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.002473/0.6019, allocations: 1.226 MB / 0.5346 GB, free: 11.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.6019, allocations: 8.031 kB / 0.5346 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.6033, allocations: 266.8 kB / 0.5349 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/0.6043, allocations: 476.9 kB / 0.5353 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.6043, allocations: 32.62 kB / 0.5354 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.6044, allocations: 52 kB / 0.5354 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.606, allocations: 1.091 MB / 0.5365 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.6061, allocations: 3.938 kB / 0.5365 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/0.6061, allocations: 24 kB / 0.5365 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.6061, allocations: 12 kB / 0.5365 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.6074, allocations: 443.5 kB / 0.5369 GB, free: 8.664 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.003945/0.6113, allocations: 2.648 MB / 0.5395 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/0.6121, allocations: 307.6 kB / 0.5398 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.6124, allocations: 131.6 kB / 0.54 GB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.6135, allocations: 422 kB / 0.5404 GB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.6135, allocations: 41.39 kB / 0.5404 GB, free: 5.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.6135, allocations: 0 / 0.5404 GB, free: 5.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001902/0.6154, allocations: 0.633 MB / 0.541 GB, free: 4.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.6156, allocations: 166.2 kB / 0.5412 GB, free: 4.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007673/0.6163, allocations: 0.561 MB / 0.5417 GB, free: 3.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.6164, allocations: 29.7 kB / 0.5417 GB, free: 3.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.6168, allocations: 378.9 kB / 0.5421 GB, free: 3.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.617, allocations: 138.8 kB / 0.5422 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.6172, allocations: 135.8 kB / 0.5424 GB, free: 2.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003507/0.6175, allocations: 0.5508 MB / 0.5429 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.6179, allocations: 136.9 kB / 0.543 GB, free: 2.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.6185, allocations: 491.8 kB / 0.5435 GB, free: 1.609 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.6197, allocations: 0.5253 MB / 0.544 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.6197, allocations: 4 kB / 0.544 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001269/0.621, allocations: 0.5706 MB / 0.5446 GB, free: 420 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.621, allocations: 4 kB / 0.5446 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.621, allocations: 8 kB / 0.5446 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/0.6225, allocations: 208 kB / 0.5448 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.623, allocations: 115.8 kB / 0.5449 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008353/0.6238, allocations: 0.8702 MB / 0.5458 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.6242, allocations: 43.67 kB / 0.5458 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.6243, allocations: 56.02 kB / 0.5458 GB, free: 15.08 MB / 426.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.0004168/0.6247, allocations: 224.4 kB / 0.5461 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.6249, allocations: 75.61 kB / 0.5461 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.6267, allocations: 0.7969 MB / 0.5469 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6267, allocations: 0 / 0.5469 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6267, allocations: 3.938 kB / 0.5469 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.6267, allocations: 7.984 kB / 0.5469 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.6285, allocations: 1.004 MB / 0.5479 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6285, allocations: 4 kB / 0.5479 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.6287, allocations: 47.92 kB / 0.548 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/0.6317, allocations: 359.4 kB / 0.5483 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.6317, allocations: 11.98 kB / 0.5483 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007855/0.6325, allocations: 0.878 MB / 0.5492 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6325, allocations: 4 kB / 0.5492 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.6336, allocations: 0.56 MB / 0.5497 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.6337, allocations: 55.55 kB / 0.5498 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.6338, allocations: 23.91 kB / 0.5498 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.6342, allocations: 15.94 kB / 0.5498 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.6342, allocations: 23.95 kB / 0.5498 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.6343, allocations: 23.98 kB / 0.5499 GB, free: 10.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005994/0.6349, allocations: 402.8 kB / 0.5502 GB, free: 10.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6349, allocations: 0 / 0.5502 GB, free: 10.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001599/0.6365, allocations: 351.1 kB / 0.5506 GB, free: 10.04 MB / 426.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.001361/0.6378, allocations: 494.4 kB / 0.551 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.639, allocations: 384.3 kB / 0.5514 GB, free: 9.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.639, allocations: 0 / 0.5514 GB, free: 9.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.6393, allocations: 161.1 kB / 0.5516 GB, free: 9.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.6411, allocations: 334.7 kB / 0.5519 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.6431, allocations: 0.9247 MB / 0.5528 GB, free: 7.707 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.6435, allocations: 267.5 kB / 0.553 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007537/0.6442, allocations: 208 kB / 0.5532 GB, free: 7.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.6445, allocations: 76.47 kB / 0.5533 GB, free: 7.141 MB / 426.7 MB Notification: Performance of SimCode: time 1.923e-06/0.6445, allocations: 0 / 0.5533 GB, free: 7.141 MB / 426.7 MB Notification: Performance of Templates: time 0.03364/0.6781, allocations: 16.3 MB / 0.5692 GB, free: 6.938 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.309810730977915]