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.001279/0.001279, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001048/0.001048, allocations: 169.2 kB / 24.82 MB, free: 9.273 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.955/0.955, allocations: 177 MB / 205.1 MB, free: 5.484 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.2424/0.2424, allocations: 34.87 MB / 296.6 MB, free: 0.5195 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.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.213e-06/1.213e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.456e-05, allocations: 7.156 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2977/0.2978, allocations: 146.1 MB / 0.513 GB, free: 16.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.3015, allocations: 3.409 MB / 0.5163 GB, free: 13.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.3017, allocations: 19.75 kB / 0.5164 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.3022, allocations: 181.6 kB / 0.5165 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.3045, allocations: 1.567 MB / 0.5181 GB, free: 13.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007747/0.3053, allocations: 0.567 MB / 0.5186 GB, free: 12.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00087/0.3062, allocations: 1.533 MB / 0.5201 GB, free: 12.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.3065, allocations: 371 kB / 0.5205 GB, free: 11.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006362/0.3071, allocations: 0.763 MB / 0.5212 GB, free: 11.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.3076, allocations: 489.2 kB / 0.5217 GB, free: 11.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.3077, allocations: 56.69 kB / 0.5217 GB, free: 11.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.3088, allocations: 1.1 MB / 0.5228 GB, free: 11.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.543e-05/0.3089, allocations: 170.3 kB / 0.523 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.3091, allocations: 253.9 kB / 0.5232 GB, free: 10.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3102, allocations: 1.437 MB / 0.5246 GB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3102, allocations: 0 / 0.5246 GB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3102, allocations: 0 / 0.5246 GB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3102, allocations: 3.938 kB / 0.5246 GB, free: 10.36 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.001054/0.3113, allocations: 1.117 MB / 0.5257 GB, free: 9.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.3113, allocations: 8.812 kB / 0.5257 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005329/0.3119, allocations: 211.4 kB / 0.5259 GB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.3123, allocations: 426.6 kB / 0.5263 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3123, allocations: 33.44 kB / 0.5264 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.3123, allocations: 46.31 kB / 0.5264 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.3128, allocations: 0.7724 MB / 0.5272 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3128, allocations: 10.19 kB / 0.5272 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.3128, allocations: 17.78 kB / 0.5272 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3128, allocations: 10.59 kB / 0.5272 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.3131, allocations: 227.8 kB / 0.5274 GB, free: 8.504 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.001342/0.3145, allocations: 2.196 MB / 0.5296 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.3149, allocations: 191.8 kB / 0.5297 GB, free: 6.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.315, allocations: 76.33 kB / 0.5298 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.3151, allocations: 56.17 kB / 0.5299 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.3151, allocations: 42.67 kB / 0.5299 GB, free: 6.602 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.3151, allocations: 0 / 0.5299 GB, free: 6.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006986/0.3158, allocations: 439.8 kB / 0.5303 GB, free: 6.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.3158, allocations: 137.8 kB / 0.5305 GB, free: 6.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.316, allocations: 418.8 kB / 0.5309 GB, free: 6.062 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.316, allocations: 40.61 kB / 0.5309 GB, free: 6.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3161, allocations: 341.2 kB / 0.5312 GB, free: 5.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.3162, allocations: 129 kB / 0.5313 GB, free: 5.633 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.3163, allocations: 107 kB / 0.5314 GB, free: 5.578 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.3164, allocations: 0.5354 MB / 0.532 GB, free: 5.059 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.3165, allocations: 54.16 kB / 0.532 GB, free: 5.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.3166, allocations: 321.6 kB / 0.5323 GB, free: 4.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.3168, allocations: 301.1 kB / 0.5326 GB, free: 4.492 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3168, allocations: 2.656 kB / 0.5326 GB, free: 4.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004002/0.3172, allocations: 384 kB / 0.533 GB, free: 4.352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3172, allocations: 5.688 kB / 0.533 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3173, allocations: 6.219 kB / 0.533 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.3179, allocations: 203.2 kB / 0.5332 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.318, allocations: 99.31 kB / 0.5333 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002051/0.3183, allocations: 0.8216 MB / 0.5341 GB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.3184, allocations: 48.81 kB / 0.5341 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.3184, allocations: 42.2 kB / 0.5342 GB, free: 3.469 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.0001233/0.3185, allocations: 180.7 kB / 0.5343 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.3186, allocations: 58.09 kB / 0.5344 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009187/0.3195, allocations: 0.9617 MB / 0.5353 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3195, allocations: 6.141 kB / 0.5353 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.3195, allocations: 0 / 0.5353 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3195, allocations: 6.766 kB / 0.5354 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006603/0.3202, allocations: 0.7488 MB / 0.5361 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3202, allocations: 6.406 kB / 0.5361 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3203, allocations: 53.77 kB / 0.5361 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.3214, allocations: 318.7 kB / 0.5364 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.3214, allocations: 13.84 kB / 0.5365 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001806/0.3216, allocations: 0.8349 MB / 0.5373 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3216, allocations: 2.875 kB / 0.5373 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.3218, allocations: 448.9 kB / 0.5377 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.3219, allocations: 47.69 kB / 0.5378 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.3219, allocations: 21.08 kB / 0.5378 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.3221, allocations: 18.28 kB / 0.5378 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.3221, allocations: 24.66 kB / 0.5378 GB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.3221, allocations: 21.58 kB / 0.5378 GB, free: 1.172 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3222, allocations: 289.6 kB / 0.5381 GB, free: 1.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3222, allocations: 0 / 0.5381 GB, free: 1.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007107/0.323, allocations: 338.1 kB / 0.5384 GB, free: 0.9336 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.0005572/0.3235, allocations: 423.3 kB / 0.5388 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.3239, allocations: 233 kB / 0.5391 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3239, allocations: 0 / 0.5391 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.324, allocations: 114.5 kB / 0.5392 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007282/0.3248, allocations: 315.7 kB / 0.5395 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000964/0.3257, allocations: 0.8432 MB / 0.5403 GB, free: 12 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3258, allocations: 126.7 kB / 0.5404 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006108/0.3265, allocations: 475.8 kB / 0.5409 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.327, allocations: 373.8 kB / 0.5412 GB, free: 15.61 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.327, allocations: 0 / 0.5412 GB, free: 15.61 MB / 426.7 MB Notification: Performance of Templates: time 0.01813/0.3451, allocations: 18.46 MB / 0.5593 GB, free: 15.32 MB / 442.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 -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.629253060091287]