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.001441/0.001441, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001561/0.001561, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.9673/0.9673, allocations: 177 MB / 205.2 MB, free: 5.062 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.2716/0.2716, allocations: 34.85 MB / 296.6 MB, free: 484 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.234e-06/2.234e-06, allocations: 0 / 325.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.554e-05, allocations: 5.406 kB / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2975/0.2975, allocations: 148.5 MB / 474.4 MB, free: 16.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004685/0.3022, allocations: 4.203 MB / 478.6 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.3027, allocations: 26.5 kB / 478.6 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.3031, allocations: 193.4 kB / 478.8 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.3066, allocations: 1.713 MB / 480.5 MB, free: 16.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3078, allocations: 0.7601 MB / 481.3 MB, free: 16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.3095, allocations: 1.728 MB / 483 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005611/0.31, allocations: 393.2 kB / 483.4 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.3113, allocations: 0.987 MB / 484.4 MB, free: 15.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006627/0.312, allocations: 0.4998 MB / 484.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.3121, allocations: 51.88 kB / 484.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.3138, allocations: 1.134 MB / 486.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.314, allocations: 184.7 kB / 486.2 MB, free: 15.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.3142, allocations: 269.6 kB / 486.5 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.316, allocations: 1.521 MB / 488 MB, free: 15.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.316, allocations: 0 / 488 MB, free: 15.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.316, allocations: 3.938 kB / 488 MB, free: 15.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.316, allocations: 2.375 kB / 488 MB, free: 15.39 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.001303/0.3173, allocations: 1.024 MB / 489.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.3174, allocations: 7.531 kB / 489.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006889/0.3181, allocations: 263.3 kB / 489.3 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.3185, allocations: 382.3 kB / 489.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.3185, allocations: 37.16 kB / 489.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.3186, allocations: 47.03 kB / 489.8 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.3191, allocations: 0.8909 MB / 490.7 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3191, allocations: 2.906 kB / 490.7 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.3191, allocations: 29.12 kB / 490.7 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3192, allocations: 10.91 kB / 490.7 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.3194, allocations: 232.8 kB / 490.9 MB, free: 13.88 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.001268/0.3207, allocations: 1.676 MB / 492.6 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.321, allocations: 169.6 kB / 492.8 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.017e-05/0.321, allocations: 108.5 kB / 492.9 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.3212, allocations: 97.31 kB / 493 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.3213, allocations: 46.06 kB / 493 MB, free: 12.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.3213, allocations: 0 / 493 MB, free: 12.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005985/0.3219, allocations: 352.3 kB / 493.4 MB, free: 12.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.3219, allocations: 163 kB / 493.5 MB, free: 12.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.3221, allocations: 382.1 kB / 493.9 MB, free: 12.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.3221, allocations: 38.95 kB / 493.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.3222, allocations: 271.6 kB / 494.2 MB, free: 12.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.3222, allocations: 128.8 kB / 494.3 MB, free: 12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3223, allocations: 105.8 kB / 494.4 MB, free: 11.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.3224, allocations: 362.1 kB / 494.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.3225, allocations: 52.98 kB / 494.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.3226, allocations: 331.2 kB / 495.2 MB, free: 11.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.3228, allocations: 308.5 kB / 495.5 MB, free: 11.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3228, allocations: 2.375 kB / 495.5 MB, free: 11.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003274/0.3232, allocations: 314.8 kB / 495.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3232, allocations: 8.75 kB / 495.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3232, allocations: 5.344 kB / 495.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.3237, allocations: 193.4 kB / 496 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.3239, allocations: 110 kB / 496.1 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001663/0.3241, allocations: 0.5456 MB / 496.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.3242, allocations: 56.3 kB / 496.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.3243, allocations: 45.75 kB / 496.7 MB, free: 10.54 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.0001121/0.3244, allocations: 152.3 kB / 496.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.3245, allocations: 43.06 kB / 496.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008433/0.3253, allocations: 0.9167 MB / 497.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3253, allocations: 2.562 kB / 497.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.3253, allocations: 0 / 497.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3253, allocations: 6.422 kB / 497.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.3258, allocations: 0.534 MB / 498.4 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3258, allocations: 0 / 498.4 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.3259, allocations: 55.55 kB / 498.4 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009325/0.3268, allocations: 314.2 kB / 498.7 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.3268, allocations: 11.34 kB / 498.7 MB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001469/0.327, allocations: 0.5568 MB / 499.3 MB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.327, allocations: 2.719 kB / 499.3 MB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.3272, allocations: 330.8 kB / 499.6 MB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.3272, allocations: 50.88 kB / 499.7 MB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.3273, allocations: 9.062 kB / 499.7 MB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3274, allocations: 15.17 kB / 499.7 MB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.3275, allocations: 26.55 kB / 499.7 MB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.3275, allocations: 15.81 kB / 499.7 MB, free: 9.141 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.3276, allocations: 189.4 kB / 499.9 MB, free: 9.082 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3276, allocations: 0 / 499.9 MB, free: 9.082 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007198/0.3283, allocations: 355.7 kB / 0.4886 GB, free: 9.004 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.0006377/0.329, allocations: 400.1 kB / 0.4889 GB, free: 8.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.3293, allocations: 225 kB / 0.4891 GB, free: 8.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.3293, allocations: 8.312 kB / 0.4892 GB, free: 8.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.588e-05/0.3294, allocations: 103.1 kB / 0.4893 GB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.33, allocations: 325.3 kB / 0.4896 GB, free: 8.621 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.3311, allocations: 0.8733 MB / 0.4904 GB, free: 8.062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.3311, allocations: 133.3 kB / 0.4905 GB, free: 7.953 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005691/0.3317, allocations: 0.5446 MB / 0.4911 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/0.3322, allocations: 339.1 kB / 0.4914 GB, free: 7.559 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3322, allocations: 0 / 0.4914 GB, free: 7.559 MB / 410.7 MB Notification: Performance of Templates: time 0.01943/0.3516, allocations: 18.9 MB / 0.5099 GB, free: 9.574 MB / 426.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: 3.7738218740560114]