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.001192/0.001192, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001274/0.001274, allocations: 156.5 kB / 24.55 MB, free: 12 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 0.9417/0.9417, allocations: 177 MB / 204.8 MB, free: 5.602 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.2623/0.2623, allocations: 34.86 MB / 296.3 MB, free: 0.5273 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 1.493e-06/1.493e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.111e-05, allocations: 2.312 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3142/0.3142, allocations: 149.1 MB / 0.5155 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.3191, allocations: 3.787 MB / 0.5192 GB, free: 12.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.3196, allocations: 20.78 kB / 0.5192 GB, free: 12.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005798/0.3202, allocations: 201.4 kB / 0.5194 GB, free: 11.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.3228, allocations: 1.356 MB / 0.5207 GB, free: 11.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.3241, allocations: 0.7937 MB / 0.5215 GB, free: 10.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.3257, allocations: 1.761 MB / 0.5232 GB, free: 9.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005559/0.3263, allocations: 394.6 kB / 0.5236 GB, free: 9.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.3275, allocations: 0.9582 MB / 0.5245 GB, free: 9.281 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/0.3281, allocations: 461.4 kB / 0.525 GB, free: 9.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3282, allocations: 54.31 kB / 0.525 GB, free: 9.145 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.3295, allocations: 0.8498 MB / 0.5259 GB, free: 8.914 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.3297, allocations: 176.1 kB / 0.526 GB, free: 8.812 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.3299, allocations: 276.6 kB / 0.5263 GB, free: 8.715 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.3314, allocations: 1.29 MB / 0.5275 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3314, allocations: 0 / 0.5275 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3314, allocations: 4 kB / 0.5276 GB, free: 8.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.3314, allocations: 3.938 kB / 0.5276 GB, free: 8.23 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.001389/0.3328, allocations: 1.13 MB / 0.5287 GB, free: 7.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3328, allocations: 9 kB / 0.5287 GB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/0.3336, allocations: 262.7 kB / 0.5289 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.3341, allocations: 471.2 kB / 0.5294 GB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.3342, allocations: 42.31 kB / 0.5294 GB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.836e-05/0.3342, allocations: 50.69 kB / 0.5295 GB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.3349, allocations: 0.9832 MB / 0.5304 GB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.335, allocations: 0 / 0.5304 GB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.335, allocations: 22.34 kB / 0.5304 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.335, allocations: 11.09 kB / 0.5304 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.3355, allocations: 303.7 kB / 0.5307 GB, free: 6.109 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.001696/0.3371, allocations: 2.447 MB / 0.5331 GB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.3375, allocations: 232.5 kB / 0.5333 GB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.3376, allocations: 88.75 kB / 0.5334 GB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.3378, allocations: 51.55 kB / 0.5335 GB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.3378, allocations: 39.95 kB / 0.5335 GB, free: 3.996 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.393e-06/0.3378, allocations: 0 / 0.5335 GB, free: 3.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008776/0.3387, allocations: 497.7 kB / 0.534 GB, free: 3.844 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3387, allocations: 163.8 kB / 0.5342 GB, free: 3.652 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.3391, allocations: 466.5 kB / 0.5346 GB, free: 3.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3391, allocations: 32.64 kB / 0.5346 GB, free: 3.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.3392, allocations: 363.4 kB / 0.535 GB, free: 3.059 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.47e-05/0.3393, allocations: 137.7 kB / 0.5351 GB, free: 2.949 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3394, allocations: 120.5 kB / 0.5352 GB, free: 2.891 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.3395, allocations: 0.5348 MB / 0.5357 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3396, allocations: 77.8 kB / 0.5358 GB, free: 2.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3398, allocations: 429.3 kB / 0.5362 GB, free: 1.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.3402, allocations: 404.2 kB / 0.5366 GB, free: 1.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3402, allocations: 0 / 0.5366 GB, free: 1.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000546/0.3407, allocations: 471.9 kB / 0.5371 GB, free: 1.402 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3407, allocations: 7.703 kB / 0.5371 GB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3408, allocations: 5.688 kB / 0.5371 GB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006778/0.3414, allocations: 200.7 kB / 0.5373 GB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.3417, allocations: 120.5 kB / 0.5374 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000281/0.3419, allocations: 0.8279 MB / 0.5382 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.3421, allocations: 48.5 kB / 0.5382 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.3421, allocations: 56.72 kB / 0.5383 GB, free: 0.5195 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.0001191/0.3423, allocations: 184.5 kB / 0.5385 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.3423, allocations: 66.14 kB / 0.5385 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.3434, allocations: 1.029 MB / 0.5395 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3434, allocations: 2.375 kB / 0.5395 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3434, allocations: 0 / 0.5395 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3434, allocations: 10.55 kB / 0.5395 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/0.3442, allocations: 0.8044 MB / 0.5403 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3442, allocations: 2.375 kB / 0.5403 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3443, allocations: 52.58 kB / 0.5404 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.3455, allocations: 344.7 kB / 0.5407 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.3455, allocations: 15.44 kB / 0.5407 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003547/0.3459, allocations: 0.8395 MB / 0.5415 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3459, allocations: 2.406 kB / 0.5415 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.3463, allocations: 476.8 kB / 0.542 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.3464, allocations: 46.03 kB / 0.542 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.3464, allocations: 19.44 kB / 0.5421 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3466, allocations: 15.56 kB / 0.5421 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.3466, allocations: 29.48 kB / 0.5421 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.3466, allocations: 23.12 kB / 0.5421 GB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002641/0.3469, allocations: 338.1 kB / 0.5425 GB, free: 13.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.3469, allocations: 0 / 0.5425 GB, free: 13.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006504/0.3476, allocations: 298.5 kB / 0.5427 GB, free: 13.88 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.000532/0.3481, allocations: 361.4 kB / 0.5431 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004525/0.3485, allocations: 274.7 kB / 0.5433 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3485, allocations: 0 / 0.5433 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.3487, allocations: 110.2 kB / 0.5434 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008538/0.3496, allocations: 340.3 kB / 0.5438 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3509, allocations: 0.8822 MB / 0.5446 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.132e-05/0.351, allocations: 128.7 kB / 0.5448 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007093/0.3517, allocations: 0.5467 MB / 0.5453 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.3519, allocations: 92.22 kB / 0.5454 GB, free: 12.41 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3519, allocations: 0 / 0.5454 GB, free: 12.41 MB / 426.7 MB Notification: Performance of Templates: time 0.01802/0.3699, allocations: 14.71 MB / 0.5597 GB, free: 15.02 MB / 442.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: 3.940526993945241]