Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..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.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009325/0.0009325, allocations: 97.25 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 199.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 45.91 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002593, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1315, allocations: 63.46 MB / 481.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4374/0.569, allocations: 147 MB / 0.6137 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008005/0.5771, allocations: 4.204 MB / 0.6178 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/0.5778, allocations: 19.81 kB / 0.6178 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.579, allocations: 250.7 kB / 0.6181 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005027/0.584, allocations: 1.151 MB / 0.6192 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.5871, allocations: 0.8379 MB / 0.62 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.5892, allocations: 0.899 MB / 0.6209 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006631/0.5898, allocations: 343 kB / 0.6212 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.591, allocations: 0.4946 MB / 0.6217 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.5915, allocations: 326.7 kB / 0.622 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.903e-05/0.5915, allocations: 28 kB / 0.622 GB, free: 9.883 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.5953, allocations: 1.759 MB / 0.6238 GB, free: 8.121 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.5955, allocations: 119.6 kB / 0.6239 GB, free: 8.004 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.5957, allocations: 149.4 kB / 0.624 GB, free: 7.852 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.5978, allocations: 1.151 MB / 0.6251 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5978, allocations: 0 / 0.6251 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5978, allocations: 0 / 0.6251 GB, free: 6.703 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.5978, allocations: 0 / 0.6251 GB, free: 6.703 MB / 462.1 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.002015/0.5998, allocations: 0.935 MB / 0.6261 GB, free: 5.719 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5999, allocations: 12.03 kB / 0.6261 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.6008, allocations: 139.1 kB / 0.6262 GB, free: 5.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/0.6015, allocations: 448.8 kB / 0.6266 GB, free: 5.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.6016, allocations: 36.94 kB / 0.6267 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.6017, allocations: 39.98 kB / 0.6267 GB, free: 5.016 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.6027, allocations: 0.5906 MB / 0.6273 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.6027, allocations: 3.938 kB / 0.6273 GB, free: 4.383 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.6028, allocations: 24 kB / 0.6273 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.6028, allocations: 11.94 kB / 0.6273 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008689/0.6037, allocations: 475.6 kB / 0.6278 GB, free: 3.883 MB / 462.1 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.002953/0.6066, allocations: 2.659 MB / 0.6304 GB, free: 1.004 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.6074, allocations: 351.4 kB / 0.6307 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004507/0.6078, allocations: 429.8 kB / 0.6311 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.6079, allocations: 43.78 kB / 0.6312 GB, free: 92 kB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/0.6079, allocations: 0 / 0.6312 GB, free: 92 kB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001709/0.6096, allocations: 0.7239 MB / 0.6319 GB, free: 15.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.6097, allocations: 132.5 kB / 0.632 GB, free: 15.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005618/0.6103, allocations: 473.9 kB / 0.6324 GB, free: 14.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.6104, allocations: 33.7 kB / 0.6325 GB, free: 14.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.6106, allocations: 275.7 kB / 0.6327 GB, free: 14.39 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.6107, allocations: 114.3 kB / 0.6328 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.6107, allocations: 8 kB / 0.6328 GB, free: 14.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.6109, allocations: 362.8 kB / 0.6332 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.6112, allocations: 148.8 kB / 0.6333 GB, free: 13.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.6116, allocations: 287.6 kB / 0.6336 GB, free: 13.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.612, allocations: 185.1 kB / 0.6338 GB, free: 13.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.612, allocations: 0 / 0.6338 GB, free: 13.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009472/0.6129, allocations: 0.5519 MB / 0.6343 GB, free: 12.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6129, allocations: 9.875 kB / 0.6343 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.613, allocations: 0 / 0.6343 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/0.6145, allocations: 296.9 kB / 0.6346 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.6149, allocations: 99.89 kB / 0.6347 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004757/0.6154, allocations: 0.5881 MB / 0.6353 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.6158, allocations: 67.48 kB / 0.6354 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/0.6159, allocations: 48.73 kB / 0.6354 GB, free: 11.56 MB / 478.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.6161, allocations: 177.8 kB / 0.6356 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.6162, allocations: 63.33 kB / 0.6356 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.6184, allocations: 1.107 MB / 0.6367 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.6184, allocations: 4 kB / 0.6367 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.6184, allocations: 0 / 0.6367 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.6184, allocations: 7.922 kB / 0.6367 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.6198, allocations: 0.9951 MB / 0.6377 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.6198, allocations: 4 kB / 0.6377 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.6201, allocations: 55.91 kB / 0.6378 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/0.6233, allocations: 0.5355 MB / 0.6383 GB, free: 8.496 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.6233, allocations: 12 kB / 0.6383 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004662/0.6238, allocations: 0.5991 MB / 0.6389 GB, free: 7.859 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6238, allocations: 7.969 kB / 0.6389 GB, free: 7.852 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/0.6247, allocations: 0.5688 MB / 0.6394 GB, free: 7.219 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.6249, allocations: 148.3 kB / 0.6396 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.625, allocations: 4 kB / 0.6396 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.6254, allocations: 39.97 kB / 0.6396 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.6255, allocations: 31.84 kB / 0.6396 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.6255, allocations: 19.98 kB / 0.6397 GB, free: 6.961 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005008/0.626, allocations: 374.8 kB / 0.64 GB, free: 6.598 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6261, allocations: 0 / 0.64 GB, free: 6.598 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00112/0.6272, allocations: 343.6 kB / 0.6404 GB, free: 6.262 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009694/0.6282, allocations: 437 kB / 0.6408 GB, free: 5.828 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008104/0.629, allocations: 392.2 kB / 0.6411 GB, free: 5.445 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.629, allocations: 0 / 0.6411 GB, free: 5.445 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.6293, allocations: 164.4 kB / 0.6413 GB, free: 5.285 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6307, allocations: 287 kB / 0.6416 GB, free: 5.016 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.6322, allocations: 1.07 MB / 0.6426 GB, free: 3.898 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.6326, allocations: 0.8711 MB / 0.6435 GB, free: 3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00117/0.6338, allocations: 0.5586 MB / 0.644 GB, free: 2.445 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.634, allocations: 83.39 kB / 0.6441 GB, free: 2.363 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.634, allocations: 0 / 0.6441 GB, free: 2.363 MB / 478.1 MB Notification: Performance of Templates: time 0.02551/0.6596, allocations: 15.41 MB / 0.6591 GB, free: 3.047 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches