Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.001132/0.001132, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001032/0.001032, allocations: 156.5 kB / 24.55 MB, free: 20 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.9595/0.9595, allocations: 177 MB / 204.8 MB, free: 5.594 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.268/0.268, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Bend,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.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,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.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.856e-05, allocations: 2.312 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.3224/0.3224, allocations: 149.1 MB / 0.5155 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004281/0.3267, allocations: 4.162 MB / 0.5196 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.327, allocations: 20.41 kB / 0.5196 GB, free: 11.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.3275, allocations: 198.2 kB / 0.5198 GB, free: 11.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.3303, allocations: 1.702 MB / 0.5215 GB, free: 10.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3314, allocations: 0.7577 MB / 0.5222 GB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.3326, allocations: 1.724 MB / 0.5239 GB, free: 9.586 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.3331, allocations: 398.2 kB / 0.5243 GB, free: 9.352 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009215/0.334, allocations: 0.9847 MB / 0.5252 GB, free: 8.945 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005397/0.3345, allocations: 0.5186 MB / 0.5257 GB, free: 8.797 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.3346, allocations: 54.59 kB / 0.5258 GB, free: 8.797 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.3358, allocations: 1.124 MB / 0.5269 GB, free: 8.496 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3359, allocations: 187.9 kB / 0.5271 GB, free: 8.387 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.3361, allocations: 268.6 kB / 0.5273 GB, free: 8.293 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.3375, allocations: 1.531 MB / 0.5288 GB, free: 7.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3375, allocations: 0 / 0.5288 GB, free: 7.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3375, allocations: 3.406 kB / 0.5288 GB, free: 7.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.964e-06/0.3375, allocations: 0 / 0.5288 GB, free: 7.738 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.001178/0.3387, allocations: 1.147 MB / 0.5299 GB, free: 6.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3387, allocations: 11.69 kB / 0.5299 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006946/0.3394, allocations: 260.9 kB / 0.5302 GB, free: 6.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.3399, allocations: 447.2 kB / 0.5306 GB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3399, allocations: 42.97 kB / 0.5307 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.3399, allocations: 50.47 kB / 0.5307 GB, free: 6.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.3406, allocations: 0.9503 MB / 0.5316 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3406, allocations: 3.938 kB / 0.5316 GB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.3407, allocations: 21.56 kB / 0.5317 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.3407, allocations: 11.44 kB / 0.5317 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.3411, allocations: 297.6 kB / 0.532 GB, free: 5.645 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.001465/0.3425, allocations: 2.443 MB / 0.5343 GB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.3429, allocations: 221.5 kB / 0.5345 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.343, allocations: 88.22 kB / 0.5346 GB, free: 3.598 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.3431, allocations: 49.44 kB / 0.5347 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3431, allocations: 39.95 kB / 0.5347 GB, free: 3.543 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.724e-06/0.3432, allocations: 3 kB / 0.5347 GB, free: 3.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008474/0.344, allocations: 0.4999 MB / 0.5352 GB, free: 3.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.344, allocations: 159.8 kB / 0.5354 GB, free: 3.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.3443, allocations: 450 kB / 0.5358 GB, free: 2.934 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3443, allocations: 36.36 kB / 0.5358 GB, free: 2.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3445, allocations: 357 kB / 0.5362 GB, free: 2.598 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.3445, allocations: 131.2 kB / 0.5363 GB, free: 2.492 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3446, allocations: 123.1 kB / 0.5364 GB, free: 2.434 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.3447, allocations: 0.5332 MB / 0.5369 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3448, allocations: 84.11 kB / 0.537 GB, free: 1.902 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.345, allocations: 426.3 kB / 0.5374 GB, free: 1.453 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.3453, allocations: 402.2 kB / 0.5378 GB, free: 1.125 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3454, allocations: 0 / 0.5378 GB, free: 1.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005447/0.3459, allocations: 473.7 kB / 0.5383 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3459, allocations: 6.375 kB / 0.5383 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3459, allocations: 5.219 kB / 0.5383 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006518/0.3466, allocations: 198.7 kB / 0.5385 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.3469, allocations: 123.6 kB / 0.5386 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002403/0.3471, allocations: 0.8256 MB / 0.5394 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.3473, allocations: 56.77 kB / 0.5394 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/0.3473, allocations: 51.27 kB / 0.5395 GB, free: 56 kB / 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.0001686/0.3475, allocations: 192.2 kB / 0.5397 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.3476, allocations: 64.67 kB / 0.5397 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.3487, allocations: 1.017 MB / 0.5407 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3487, allocations: 5.469 kB / 0.5407 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3487, allocations: 0 / 0.5407 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3487, allocations: 9.906 kB / 0.5407 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007644/0.3494, allocations: 0.7928 MB / 0.5415 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3494, allocations: 6.672 kB / 0.5415 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3495, allocations: 52.55 kB / 0.5416 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.3507, allocations: 323.2 kB / 0.5419 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.3507, allocations: 13.27 kB / 0.5419 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003337/0.351, allocations: 0.8306 MB / 0.5427 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.351, allocations: 3.031 kB / 0.5427 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.3514, allocations: 479.5 kB / 0.5432 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.3515, allocations: 46.27 kB / 0.5432 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.3515, allocations: 13.52 kB / 0.5432 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3517, allocations: 24.48 kB / 0.5432 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.3517, allocations: 28.59 kB / 0.5433 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.3518, allocations: 22.17 kB / 0.5433 GB, free: 13.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000236/0.352, allocations: 329.3 kB / 0.5436 GB, free: 13.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 0.5436 GB, free: 13.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000618/0.3526, allocations: 353.5 kB / 0.5439 GB, free: 13.27 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.000614/0.3532, allocations: 413.4 kB / 0.5443 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.3536, allocations: 271.3 kB / 0.5446 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3536, allocations: 0 / 0.5446 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.3538, allocations: 113.6 kB / 0.5447 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008113/0.3546, allocations: 344.2 kB / 0.545 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.3558, allocations: 0.8757 MB / 0.5459 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.888e-05/0.3559, allocations: 128.3 kB / 0.546 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006234/0.3565, allocations: 0.5565 MB / 0.5465 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3567, allocations: 92.83 kB / 0.5466 GB, free: 11.68 MB / 426.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3567, allocations: 0 / 0.5466 GB, free: 11.68 MB / 426.7 MB Notification: Performance of Templates: time 0.02075/0.3774, allocations: 19.04 MB / 0.5652 GB, free: 9.441 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.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.007708415854722]