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.00111/0.00111, allocations: 83.67 kB / 21.7 MB, free: 2.844 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.007464/0.007464, allocations: 162.8 kB / 24.99 MB, free: 9.32 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 0.9887/0.9887, allocations: 177 MB / 205.2 MB, free: 5.16 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.2915/0.2915, allocations: 34.86 MB / 296.6 MB, free: 456 kB / 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 2.295e-06/2.295e-06, allocations: 0 / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.681e-05, allocations: 4.281 kB / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.3595/0.3595, allocations: 177.8 MB / 0.5436 GB, free: 11.37 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00695/0.3665, allocations: 5.019 MB / 0.5485 GB, free: 8.043 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004698/0.367, allocations: 27.59 kB / 0.5485 GB, free: 8.027 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009048/0.3679, allocations: 333.2 kB / 0.5488 GB, free: 7.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004731/0.3726, allocations: 2.198 MB / 0.551 GB, free: 6.461 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.3746, allocations: 0.9498 MB / 0.5519 GB, free: 5.754 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001706/0.3763, allocations: 1.706 MB / 0.5535 GB, free: 4.742 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.3768, allocations: 388.8 kB / 0.5539 GB, free: 4.469 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.3783, allocations: 1.115 MB / 0.555 GB, free: 3.789 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.3789, allocations: 454.2 kB / 0.5554 GB, free: 3.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.244e-05/0.379, allocations: 56.91 kB / 0.5555 GB, free: 3.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.3812, allocations: 1.276 MB / 0.5567 GB, free: 2.859 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.3813, allocations: 183.3 kB / 0.5569 GB, free: 2.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.3816, allocations: 283.4 kB / 0.5572 GB, free: 2.402 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.3837, allocations: 1.659 MB / 0.5588 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3837, allocations: 0 / 0.5588 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3837, allocations: 0 / 0.5588 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.3837, allocations: 0 / 0.5588 GB, free: 0.7383 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.001662/0.3854, allocations: 1.191 MB / 0.56 GB, free: 15.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3854, allocations: 11.97 kB / 0.56 GB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.3866, allocations: 262.9 kB / 0.5602 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.3872, allocations: 455.5 kB / 0.5607 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.3873, allocations: 33 kB / 0.5607 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/0.3873, allocations: 48 kB / 0.5607 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009753/0.3883, allocations: 0.9783 MB / 0.5617 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3883, allocations: 4 kB / 0.5617 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.3884, allocations: 21.81 kB / 0.5617 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.3884, allocations: 15.94 kB / 0.5617 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.389, allocations: 301.6 kB / 0.562 GB, free: 13.21 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.002141/0.3911, allocations: 2.458 MB / 0.5644 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.3916, allocations: 216.8 kB / 0.5646 GB, free: 10.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.3917, allocations: 88.56 kB / 0.5647 GB, free: 10.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.3919, allocations: 51.95 kB / 0.5648 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3919, allocations: 45.39 kB / 0.5648 GB, free: 10.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.3919, allocations: 4 kB / 0.5648 GB, free: 10.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.001131/0.393, allocations: 493 kB / 0.5653 GB, free: 9.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.3931, allocations: 162.2 kB / 0.5654 GB, free: 9.555 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.3935, allocations: 466.4 kB / 0.5659 GB, free: 9.086 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.3936, allocations: 33.7 kB / 0.5659 GB, free: 9.047 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.3938, allocations: 354.9 kB / 0.5663 GB, free: 8.691 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.108e-05/0.3939, allocations: 130.9 kB / 0.5664 GB, free: 8.562 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.394, allocations: 123.8 kB / 0.5665 GB, free: 8.434 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3942, allocations: 0.5274 MB / 0.567 GB, free: 7.895 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.3943, allocations: 80.94 kB / 0.5671 GB, free: 7.816 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.3947, allocations: 432.7 kB / 0.5675 GB, free: 7.262 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.3951, allocations: 398.2 kB / 0.5679 GB, free: 6.785 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3951, allocations: 0 / 0.5679 GB, free: 6.785 MB / 442.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007253/0.3959, allocations: 468.1 kB / 0.5683 GB, free: 6.316 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3959, allocations: 8 kB / 0.5683 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3959, allocations: 4.625 kB / 0.5683 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008712/0.3968, allocations: 207.4 kB / 0.5685 GB, free: 6.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.397, allocations: 115.8 kB / 0.5686 GB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004061/0.3974, allocations: 0.8381 MB / 0.5695 GB, free: 5.117 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.3977, allocations: 51.66 kB / 0.5695 GB, free: 5.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/0.3977, allocations: 48 kB / 0.5696 GB, free: 5.02 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.000172/0.3979, allocations: 196.4 kB / 0.5697 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.398, allocations: 67.61 kB / 0.5698 GB, free: 4.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.3994, allocations: 1.014 MB / 0.5708 GB, free: 3.715 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3994, allocations: 4 kB / 0.5708 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3994, allocations: 0 / 0.5708 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3994, allocations: 0 / 0.5708 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008909/0.4003, allocations: 0.8005 MB / 0.5716 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4003, allocations: 0 / 0.5716 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.4004, allocations: 55.91 kB / 0.5716 GB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/0.402, allocations: 342.3 kB / 0.572 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.402, allocations: 11.98 kB / 0.572 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003703/0.4024, allocations: 0.8428 MB / 0.5728 GB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4024, allocations: 0 / 0.5728 GB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.4029, allocations: 477.4 kB / 0.5733 GB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.4029, allocations: 47.64 kB / 0.5733 GB, free: 1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.403, allocations: 23.86 kB / 0.5733 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.4032, allocations: 19.98 kB / 0.5733 GB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.4033, allocations: 23.97 kB / 0.5734 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.4033, allocations: 19.98 kB / 0.5734 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002956/0.4036, allocations: 330.8 kB / 0.5737 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4036, allocations: 0 / 0.5737 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000846/0.4045, allocations: 366.9 kB / 0.5741 GB, free: 236 kB / 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.0007733/0.4052, allocations: 466.1 kB / 0.5745 GB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000566/0.4058, allocations: 274.2 kB / 0.5748 GB, free: 15.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4058, allocations: 3.938 kB / 0.5748 GB, free: 15.49 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.406, allocations: 111.9 kB / 0.5749 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.4071, allocations: 353.6 kB / 0.5752 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.4085, allocations: 0.8695 MB / 0.5761 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.904e-05/0.4086, allocations: 126.7 kB / 0.5762 GB, free: 13.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008129/0.4094, allocations: 0.5528 MB / 0.5767 GB, free: 13.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.4096, allocations: 96.44 kB / 0.5768 GB, free: 13.33 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4096, allocations: 0 / 0.5768 GB, free: 13.33 MB / 458.7 MB Notification: Performance of Templates: time 0.02043/0.4301, allocations: 17.45 MB / 0.5938 GB, free: 12.13 MB / 474.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.138005222892389]