Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.0009778/0.0009778, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001041/0.001041, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9467/0.9467, allocations: 177 MB / 205.2 MB, free: 5.039 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.2597/0.2597, allocations: 34.86 MB / 296.6 MB, free: 488 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.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.613e-05, allocations: 6.609 kB / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.297/0.297, allocations: 148.2 MB / 474.2 MB, free: 16.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004678/0.3017, allocations: 3.462 MB / 477.7 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006321/0.3023, allocations: 20.56 kB / 477.7 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.3029, allocations: 194.1 kB / 477.9 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.3062, allocations: 1.518 MB / 479.4 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.3073, allocations: 0.5657 MB / 480 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001749/0.309, allocations: 1.53 MB / 481.5 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006047/0.3096, allocations: 381.8 kB / 481.9 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.3107, allocations: 0.7661 MB / 482.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007394/0.3114, allocations: 460.7 kB / 483.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.3115, allocations: 55.62 kB / 483.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.3137, allocations: 1.153 MB / 484.3 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.3138, allocations: 172.8 kB / 484.5 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.3141, allocations: 252.4 kB / 484.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.3162, allocations: 1.439 MB / 486.1 MB, free: 15.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3162, allocations: 0 / 486.1 MB, free: 15.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3162, allocations: 0 / 486.1 MB, free: 15.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.3162, allocations: 0 / 486.1 MB, free: 15.53 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001572/0.3178, allocations: 0.9756 MB / 487.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3178, allocations: 7.562 kB / 487.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000698/0.3185, allocations: 218.9 kB / 487.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.319, allocations: 372.7 kB / 487.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.319, allocations: 38.86 kB / 487.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.3191, allocations: 43.97 kB / 487.8 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.3197, allocations: 0.7437 MB / 488.5 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3197, allocations: 4.375 kB / 488.5 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.3198, allocations: 22.62 kB / 488.6 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3198, allocations: 11.12 kB / 488.6 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.3201, allocations: 211.6 kB / 488.8 MB, free: 14.2 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.001333/0.3214, allocations: 1.564 MB / 490.3 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.3217, allocations: 164 kB / 490.5 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.3218, allocations: 104 kB / 490.6 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/0.322, allocations: 96.05 kB / 490.7 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.322, allocations: 41.03 kB / 490.7 MB, free: 13.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.034e-06/0.322, allocations: 2.312 kB / 490.7 MB, free: 13.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.000697/0.3227, allocations: 339.8 kB / 491.1 MB, free: 13.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.3228, allocations: 131.2 kB / 491.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.323, allocations: 359.1 kB / 491.5 MB, free: 12.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.323, allocations: 39.42 kB / 491.6 MB, free: 12.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.3231, allocations: 243.6 kB / 491.8 MB, free: 12.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.3232, allocations: 132.9 kB / 492 MB, free: 12.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3233, allocations: 94.61 kB / 492 MB, free: 12.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.3233, allocations: 363 kB / 492.4 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.222e-05/0.3234, allocations: 44.44 kB / 492.4 MB, free: 12.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.3235, allocations: 254.8 kB / 492.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.3238, allocations: 249.9 kB / 492.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3238, allocations: 3.062 kB / 492.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003281/0.3241, allocations: 264.3 kB / 493.2 MB, free: 11.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3241, allocations: 14.33 kB / 493.2 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3241, allocations: 4.906 kB / 493.2 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.3248, allocations: 197.6 kB / 493.4 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.325, allocations: 102.1 kB / 493.5 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002026/0.3252, allocations: 0.5458 MB / 494.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3253, allocations: 30.03 kB / 494.1 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.3254, allocations: 45.83 kB / 494.1 MB, free: 11.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0001197/0.3255, allocations: 141.3 kB / 494.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.3255, allocations: 40.47 kB / 494.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009584/0.3265, allocations: 0.876 MB / 495.2 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3265, allocations: 2.656 kB / 495.2 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.3265, allocations: 0 / 495.2 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3265, allocations: 4.391 kB / 495.2 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/0.3272, allocations: 0.5647 MB / 495.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3272, allocations: 2.938 kB / 495.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.3273, allocations: 52.25 kB / 495.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.3284, allocations: 310.5 kB / 496.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.3284, allocations: 9.469 kB / 496.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001926/0.3286, allocations: 0.5531 MB / 496.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3286, allocations: 3.438 kB / 496.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.3288, allocations: 327.1 kB / 497 MB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.3289, allocations: 41.75 kB / 497 MB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.3289, allocations: 22.53 kB / 497.1 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.329, allocations: 8.406 kB / 497.1 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.3291, allocations: 26.69 kB / 497.1 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3291, allocations: 18.33 kB / 497.1 MB, free: 9.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.3293, allocations: 175.2 kB / 497.3 MB, free: 9.797 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3293, allocations: 0 / 497.3 MB, free: 9.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009523/0.3302, allocations: 334.9 kB / 497.6 MB, free: 9.734 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.000723/0.3309, allocations: 404.6 kB / 498 MB, free: 9.598 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.3313, allocations: 205.3 kB / 498.2 MB, free: 9.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.3313, allocations: 7.781 kB / 498.2 MB, free: 9.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3314, allocations: 95.09 kB / 498.3 MB, free: 9.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.3321, allocations: 303.3 kB / 498.6 MB, free: 9.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3334, allocations: 0.8378 MB / 499.4 MB, free: 9.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.187e-05/0.3334, allocations: 130.8 kB / 499.6 MB, free: 8.914 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006314/0.3341, allocations: 484.6 kB / 0.4883 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.3346, allocations: 313.8 kB / 0.4886 GB, free: 8.559 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3346, allocations: 0 / 0.4886 GB, free: 8.559 MB / 410.7 MB Notification: Performance of Templates: time 0.02039/0.355, allocations: 18.38 MB / 0.5066 GB, free: 11.89 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.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.63226596172899]